Changeset 250797 in webkit


Ignore:
Timestamp:
Oct 7, 2019 3:12:16 PM (5 years ago)
Author:
Ross Kirsling
Message:

Unreviewed WinCairo build fix for r250786.

  • Modules/cache/DOMCache.cpp:

(WebCore::DOMCache::addAll):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r250795 r250797  
     12019-10-07  Ross Kirsling  <ross.kirsling@sony.com>
     2
     3        Unreviewed WinCairo build fix for r250786.
     4
     5        * Modules/cache/DOMCache.cpp:
     6        (WebCore::DOMCache::addAll):
     7
    182019-10-07  Tim Horton  <timothy_horton@apple.com>
    29
  • trunk/Source/WebCore/Modules/cache/DOMCache.cpp

    r250786 r250797  
    242242    }
    243243
    244     auto taskHandler = FetchTasksHandler::create(*this, [this, promise = WTFMove(promise)](ExceptionOr<Vector<Record>>&& result) mutable {
     244    auto taskHandler = FetchTasksHandler::create(*this, [this, protectedThis = makeRef(*this), promise = WTFMove(promise)](ExceptionOr<Vector<Record>>&& result) mutable {
    245245        if (result.hasException()) {
    246246            m_taskQueue->enqueueTask([promise = WTFMove(promise), exception = result.releaseException()]() mutable {
     
    249249            return;
    250250        }
    251         batchPutOperation(result.releaseReturnValue(), [this, protectedThis = makeRef(*this), promise = WTFMove(promise)](ExceptionOr<void>&& result) mutable {
     251        batchPutOperation(result.releaseReturnValue(), [this, protectedThis = WTFMove(protectedThis), promise = WTFMove(promise)](ExceptionOr<void>&& result) mutable {
    252252            m_taskQueue->enqueueTask([promise = WTFMove(promise), result = WTFMove(result)]() mutable {
    253253                promise.settle(WTFMove(result));
Note: See TracChangeset for help on using the changeset viewer.