Title: [203227] trunk/Source/WebKit2
Revision
203227
Author
[email protected]
Date
2016-07-14 10:50:46 -0700 (Thu, 14 Jul 2016)

Log Message

Fix the DatabaseProcess build with disabled IDB
https://bugs.webkit.org/show_bug.cgi?id=159769

Reviewed by Alex Christensen.

* WebProcess/Databases/WebToDatabaseProcessConnection.cpp:
(WebKit::WebToDatabaseProcessConnection::didClose):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (203226 => 203227)


--- trunk/Source/WebKit2/ChangeLog	2016-07-14 17:38:16 UTC (rev 203226)
+++ trunk/Source/WebKit2/ChangeLog	2016-07-14 17:50:46 UTC (rev 203227)
@@ -1,3 +1,13 @@
+2016-07-14  Csaba Osztrogonác  <[email protected]>
+
+        Fix the DatabaseProcess build with disabled IDB
+        https://bugs.webkit.org/show_bug.cgi?id=159769
+
+        Reviewed by Alex Christensen.
+
+        * WebProcess/Databases/WebToDatabaseProcessConnection.cpp:
+        (WebKit::WebToDatabaseProcessConnection::didClose):
+
 2016-07-14  Hyunjun Ko  <[email protected]>
 
         [ThreadedCompositor] Build fails in debug mode after r202040

Modified: trunk/Source/WebKit2/WebProcess/Databases/WebToDatabaseProcessConnection.cpp (203226 => 203227)


--- trunk/Source/WebKit2/WebProcess/Databases/WebToDatabaseProcessConnection.cpp	2016-07-14 17:38:16 UTC (rev 203226)
+++ trunk/Source/WebKit2/WebProcess/Databases/WebToDatabaseProcessConnection.cpp	2016-07-14 17:50:46 UTC (rev 203227)
@@ -64,11 +64,13 @@
 
 void WebToDatabaseProcessConnection::didClose(IPC::Connection& connection)
 {
+#if ENABLE(INDEXED_DATABASE)
     for (auto& connection : m_webIDBConnectionsByIdentifier.values())
         connection->connectionToServerLost();
 
     m_webIDBConnectionsByIdentifier.clear();
     m_webIDBConnectionsBySession.clear();
+#endif
 
     WebProcess::singleton().webToDatabaseProcessConnectionClosed(this);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to