Changeset 250793 in webkit


Ignore:
Timestamp:
Oct 7, 2019 2:31:34 PM (5 years ago)
Author:
Ross Kirsling
Message:

Unreviewed WinCairo build fix for r250758.

  • workers/service/ServiceWorkerContainer.cpp:

(WebCore::ServiceWorkerContainer::jobResolvedWithRegistration):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r250788 r250793  
     12019-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
    182019-10-07  Ryosuke Niwa  <rniwa@webkit.org>
    29
  • trunk/Source/WebCore/workers/service/ServiceWorkerContainer.cpp

    r250758 r250793  
    380380        return;
    381381
    382     m_taskQueue->enqueueTask([this, promise = 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 {
    383383        notifyIfExitEarly.release();
    384384
     
    389389        if (shouldNotifyWhenResolved == ShouldNotifyWhenResolved::Yes) {
    390390            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] {
    392392                notifyRegistrationIsSettled(m_ongoingSettledRegistrations.take(identifier));
    393393            });
Note: See TracChangeset for help on using the changeset viewer.