Remove unused lambda capture
authorannulen@yandex.ru <annulen@yandex.ru@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 May 2017 17:15:44 +0000 (17:15 +0000)
committerannulen@yandex.ru <annulen@yandex.ru@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 May 2017 17:15:44 +0000 (17:15 +0000)
https://bugs.webkit.org/show_bug.cgi?id=171772

Reviewed by Yusuke Suzuki.

* DatabaseProcess/DatabaseProcess.cpp:
(WebKit::DatabaseProcess::fetchWebsiteData):

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

Source/WebKit2/ChangeLog
Source/WebKit2/DatabaseProcess/DatabaseProcess.cpp

index a02c2f2..cc8a648 100644 (file)
@@ -1,3 +1,13 @@
+2017-05-06  Konstantin Tokarev  <annulen@yandex.ru>
+
+        Remove unused lambda capture
+        https://bugs.webkit.org/show_bug.cgi?id=171772
+
+        Reviewed by Yusuke Suzuki.
+
+        * DatabaseProcess/DatabaseProcess.cpp:
+        (WebKit::DatabaseProcess::fetchWebsiteData):
+
 2017-05-06  David Kilzer  <ddkilzer@apple.com>
 
         messages_unittest.py should support a [-r|--reset-results] switch
index 51e8012..7d162bc 100644 (file)
@@ -199,7 +199,7 @@ void DatabaseProcess::fetchWebsiteData(SessionID sessionID, OptionSet<WebsiteDat
 
     if (websiteDataTypes.contains(WebsiteDataType::IndexedDBDatabases)) {
         // FIXME: Pick the right database store based on the session ID.
-        postDatabaseTask(CrossThreadTask([this, websiteDataTypes, completionHandler = WTFMove(completionHandler), path = WTFMove(path)]() mutable {
+        postDatabaseTask(CrossThreadTask([this, completionHandler = WTFMove(completionHandler), path = WTFMove(path)]() mutable {
             RunLoop::main().dispatch([completionHandler = WTFMove(completionHandler), securityOrigins = indexedDatabaseOrigins(path)] {
                 WebsiteData websiteData;
                 for (const auto& securityOrigin : securityOrigins)