Changeset 273180 in webkit
- Timestamp:
- Feb 19, 2021 4:18:55 PM (3 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r273169 r273180 1 2021-02-19 Alex Christensen <achristensen@webkit.org> 2 3 CrashTracer: com.apple.WebKit.Networking at WebKit: WTF::Detail::CallableWrapper<WebKit::PrivateClickMeasurementManager::firePendingAttributionRequests() 4 https://bugs.webkit.org/show_bug.cgi?id=222201 5 6 Reviewed by Chris Dumez. 7 8 * NetworkProcess/PrivateClickMeasurementManager.cpp: 9 (WebKit::PrivateClickMeasurementManager::attribute): 10 (WebKit::PrivateClickMeasurementManager::firePendingAttributionRequests): 11 1 12 2021-02-19 Per Arne Vollan <pvollan@apple.com> 2 13 -
trunk/Source/WebKit/NetworkProcess/PrivateClickMeasurementManager.cpp
r273167 r273180 231 231 232 232 if (auto* resourceLoadStatistics = m_networkSession->resourceLoadStatistics()) { 233 resourceLoadStatistics->attributePrivateClickMeasurement(sourceSite, attributeOnSite, WTFMove(attributionTriggerData), [this] (auto optionalSecondsUntilSend) { 233 resourceLoadStatistics->attributePrivateClickMeasurement(sourceSite, attributeOnSite, WTFMove(attributionTriggerData), [this, weakThis = makeWeakPtr(*this)] (auto optionalSecondsUntilSend) { 234 if (!weakThis) 235 return; 234 236 if (optionalSecondsUntilSend) { 235 237 auto secondsUntilSend = *optionalSecondsUntilSend; … … 295 297 return; 296 298 297 resourceLoadStatistics->allAttributedPrivateClickMeasurement([this] (auto&& attributions) { 299 resourceLoadStatistics->allAttributedPrivateClickMeasurement([this, weakThis = makeWeakPtr(*this)] (auto&& attributions) { 300 if (!weakThis) 301 return; 298 302 auto nextTimeToFire = Seconds::infinity(); 299 303 bool hasSentAttribution = false;
Note: See TracChangeset
for help on using the changeset viewer.