Changeset 223156 in webkit


Ignore:
Timestamp:
Oct 10, 2017 4:40:39 PM (7 years ago)
Author:
Chris Dumez
Message:

Unreviewed, really fix the build with certain SDKs.

Follow-up to r223154, which fixed the wrong lambda.

  • Modules/entriesapi/DOMFileSystem.cpp:

(WebCore::DOMFileSystem::getEntry):
(WebCore::DOMFileSystem::getFile):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r223154 r223156  
     12017-10-10  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed, really fix the build with certain SDKs.
     4
     5        Follow-up to r223154, which fixed the wrong lambda.
     6
     7        * Modules/entriesapi/DOMFileSystem.cpp:
     8        (WebCore::DOMFileSystem::getEntry):
     9        (WebCore::DOMFileSystem::getFile):
     10
    1112017-10-10  Chris Dumez  <cdumez@apple.com>
    212
  • trunk/Source/WebCore/Modules/entriesapi/DOMFileSystem.cpp

    r223154 r223156  
    305305    auto fullPath = evaluatePath(resolvedVirtualPath);
    306306    if (fullPath == m_rootPath) {
    307         callOnMainThread([context = makeRef(context), completionCallback = WTFMove(completionCallback)]() mutable {
     307        callOnMainThread([this, context = makeRef(context), completionCallback = WTFMove(completionCallback)]() mutable {
    308308            completionCallback(Ref<FileSystemEntry> { root(context) });
    309309        });
     
    339339    m_workQueue->dispatch([this, context = makeRef(context), fullPath = crossThreadCopy(fullPath), virtualPath = crossThreadCopy(virtualPath), completionCallback = WTFMove(completionCallback)]() mutable {
    340340        auto validatedVirtualPath = validatePathIsExpectedType(fullPath, WTFMove(virtualPath), FileMetadata::Type::File);
    341         callOnMainThread([this, context = WTFMove(context), fullPath = crossThreadCopy(fullPath), validatedVirtualPath = crossThreadCopy(validatedVirtualPath), completionCallback = WTFMove(completionCallback)]() mutable {
     341        callOnMainThread([context = WTFMove(context), fullPath = crossThreadCopy(fullPath), validatedVirtualPath = crossThreadCopy(validatedVirtualPath), completionCallback = WTFMove(completionCallback)]() mutable {
    342342            if (validatedVirtualPath.hasException())
    343343                completionCallback(validatedVirtualPath.releaseException());
Note: See TracChangeset for help on using the changeset viewer.