Unreviewed, fix build error after r223608 with some SDKs.
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Oct 2017 16:54:36 +0000 (16:54 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Oct 2017 16:54:36 +0000 (16:54 +0000)
* StorageProcess/StorageProcess.cpp:
(WebKit::StorageProcess::ensureSWOriginStoreForSession):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223610 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/StorageProcess/StorageProcess.cpp

index 50cd642..025c615 100644 (file)
@@ -1,5 +1,12 @@
 2017-10-18  Chris Dumez  <cdumez@apple.com>
 
+        Unreviewed, fix build error after r223608 with some SDKs.
+
+        * StorageProcess/StorageProcess.cpp:
+        (WebKit::StorageProcess::ensureSWOriginStoreForSession):
+
+2017-10-18  Chris Dumez  <cdumez@apple.com>
+
         Add an efficient data structure for WebCore to query if there is a Service Worker registered for a given origin
         https://bugs.webkit.org/show_bug.cgi?id=177876
         <rdar://problem/34813129>
index 99596f3..28b22c2 100644 (file)
@@ -355,7 +355,7 @@ void StorageProcess::createWorkerContextProcessConnection()
 
 WebSWOriginStore& StorageProcess::ensureSWOriginStoreForSession(PAL::SessionID sessionID)
 {
-    return *m_swOriginStores.ensure(sessionID, [this, sessionID] {
+    return *m_swOriginStores.ensure(sessionID, [] {
         return std::make_unique<WebSWOriginStore>();
     }).iterator->value;
 }