Changeset 250793 in webkit
- Timestamp:
- Oct 7, 2019 2:31:34 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r250788 r250793 1 2019-10-07 Ross Kirsling <ross.kirsling@sony.com> 2 3 Unreviewed WinCairo build fix for r250758. 4 5 * workers/service/ServiceWorkerContainer.cpp: 6 (WebCore::ServiceWorkerContainer::jobResolvedWithRegistration): 7 1 8 2019-10-07 Ryosuke Niwa <rniwa@webkit.org> 2 9 -
trunk/Source/WebCore/workers/service/ServiceWorkerContainer.cpp
r250758 r250793 380 380 return; 381 381 382 m_taskQueue->enqueueTask([this, pro mise = WTFMove(promise), jobIdentifier = job.identifier(), data = WTFMove(data), shouldNotifyWhenResolved, notifyIfExitEarly = WTFMove(notifyIfExitEarly)]() mutable {382 m_taskQueue->enqueueTask([this, protectedThis = makeRef(*this), promise = WTFMove(promise), jobIdentifier = job.identifier(), data = WTFMove(data), shouldNotifyWhenResolved, notifyIfExitEarly = WTFMove(notifyIfExitEarly)]() mutable { 383 383 notifyIfExitEarly.release(); 384 384 … … 389 389 if (shouldNotifyWhenResolved == ShouldNotifyWhenResolved::Yes) { 390 390 m_ongoingSettledRegistrations.add(++m_lastOngoingSettledRegistrationIdentifier, registration->data().key); 391 promise->whenSettled([this, protectedThis = makeRef(*this), identifier = m_lastOngoingSettledRegistrationIdentifier] {391 promise->whenSettled([this, protectedThis = WTFMove(protectedThis), identifier = m_lastOngoingSettledRegistrationIdentifier] { 392 392 notifyRegistrationIsSettled(m_ongoingSettledRegistrations.take(identifier)); 393 393 });
Note: See TracChangeset
for help on using the changeset viewer.