Title: [226280] trunk/Source/WebCore
Revision
226280
Author
[email protected]
Date
2017-12-22 15:05:37 -0800 (Fri, 22 Dec 2017)

Log Message

Unreviewed, try to fix the build on recent SDKs after r226274.

Unused variables captured in a lambda now cause warnings the latest SDKs. It seems that after r226274, the block
in `SWContextManager::terminateWorker` no longer accesses `this->m_workerMap`, so `this` is now unused.

* workers/service/context/SWContextManager.cpp:
(WebCore::SWContextManager::terminateWorker):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (226279 => 226280)


--- trunk/Source/WebCore/ChangeLog	2017-12-22 22:53:07 UTC (rev 226279)
+++ trunk/Source/WebCore/ChangeLog	2017-12-22 23:05:37 UTC (rev 226280)
@@ -1,5 +1,15 @@
 2017-12-22  Wenson Hsieh  <[email protected]>
 
+        Unreviewed, try to fix the build on recent SDKs after r226274.
+
+        Unused variables captured in a lambda now cause warnings the latest SDKs. It seems that after r226274, the block
+        in `SWContextManager::terminateWorker` no longer accesses `this->m_workerMap`, so `this` is now unused.
+
+        * workers/service/context/SWContextManager.cpp:
+        (WebCore::SWContextManager::terminateWorker):
+
+2017-12-22  Wenson Hsieh  <[email protected]>
+
         Fix build failures due to using deprecated AppKit symbols
         https://bugs.webkit.org/show_bug.cgi?id=181110
         <rdar://problem/36162865>

Modified: trunk/Source/WebCore/workers/service/context/SWContextManager.cpp (226279 => 226280)


--- trunk/Source/WebCore/workers/service/context/SWContextManager.cpp	2017-12-22 22:53:07 UTC (rev 226279)
+++ trunk/Source/WebCore/workers/service/context/SWContextManager.cpp	2017-12-22 23:05:37 UTC (rev 226280)
@@ -103,7 +103,7 @@
 
     serviceWorker->setTerminatingOrTerminated(true);
 
-    serviceWorker->thread().stop([this, identifier, serviceWorker = WTFMove(serviceWorker), completionHandler = WTFMove(completionHandler)]() mutable {
+    serviceWorker->thread().stop([identifier, serviceWorker = WTFMove(serviceWorker), completionHandler = WTFMove(completionHandler)]() mutable {
         if (auto* connection = SWContextManager::singleton().connection())
             connection->workerTerminated(identifier);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to