Title: [223156] trunk/Source/WebCore
Revision
223156
Author
cdu...@apple.com
Date
2017-10-10 16:40:39 -0700 (Tue, 10 Oct 2017)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (223155 => 223156)


--- trunk/Source/WebCore/ChangeLog	2017-10-10 23:14:12 UTC (rev 223155)
+++ trunk/Source/WebCore/ChangeLog	2017-10-10 23:40:39 UTC (rev 223156)
@@ -1,5 +1,15 @@
 2017-10-10  Chris Dumez  <cdu...@apple.com>
 
+        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):
+
+2017-10-10  Chris Dumez  <cdu...@apple.com>
+
         Unreviewed, fix build with certain SDKs.
 
         Stop capturing |this| unnecessarily in lambda.

Modified: trunk/Source/WebCore/Modules/entriesapi/DOMFileSystem.cpp (223155 => 223156)


--- trunk/Source/WebCore/Modules/entriesapi/DOMFileSystem.cpp	2017-10-10 23:14:12 UTC (rev 223155)
+++ trunk/Source/WebCore/Modules/entriesapi/DOMFileSystem.cpp	2017-10-10 23:40:39 UTC (rev 223156)
@@ -304,7 +304,7 @@
     ASSERT(resolvedVirtualPath[0] == '/');
     auto fullPath = evaluatePath(resolvedVirtualPath);
     if (fullPath == m_rootPath) {
-        callOnMainThread([context = makeRef(context), completionCallback = WTFMove(completionCallback)]() mutable {
+        callOnMainThread([this, context = makeRef(context), completionCallback = WTFMove(completionCallback)]() mutable {
             completionCallback(Ref<FileSystemEntry> { root(context) });
         });
         return;
@@ -338,7 +338,7 @@
     auto fullPath = evaluatePath(virtualPath);
     m_workQueue->dispatch([this, context = makeRef(context), fullPath = crossThreadCopy(fullPath), virtualPath = crossThreadCopy(virtualPath), completionCallback = WTFMove(completionCallback)]() mutable {
         auto validatedVirtualPath = validatePathIsExpectedType(fullPath, WTFMove(virtualPath), FileMetadata::Type::File);
-        callOnMainThread([this, context = WTFMove(context), fullPath = crossThreadCopy(fullPath), validatedVirtualPath = crossThreadCopy(validatedVirtualPath), completionCallback = WTFMove(completionCallback)]() mutable {
+        callOnMainThread([context = WTFMove(context), fullPath = crossThreadCopy(fullPath), validatedVirtualPath = crossThreadCopy(validatedVirtualPath), completionCallback = WTFMove(completionCallback)]() mutable {
             if (validatedVirtualPath.hasException())
                 completionCallback(validatedVirtualPath.releaseException());
             else
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to