Title: [255498] trunk/Source/WebKit
- Revision
- 255498
- Author
- commit-qu...@webkit.org
- Date
- 2020-01-31 08:38:30 -0800 (Fri, 31 Jan 2020)
Log Message
Compilation broken without service workers
https://bugs.webkit.org/show_bug.cgi?id=207037
Patch by Alejandro G. Castro <a...@igalia.com> on 2020-01-31
Reviewed by Chris Dumez.
Protect the use of m_swServers, check if the SERVICE_WORKER is
enabled.
* NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::lowMemoryHandler):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (255497 => 255498)
--- trunk/Source/WebKit/ChangeLog 2020-01-31 16:32:59 UTC (rev 255497)
+++ trunk/Source/WebKit/ChangeLog 2020-01-31 16:38:30 UTC (rev 255498)
@@ -1,3 +1,16 @@
+2020-01-31 Alejandro G. Castro <a...@igalia.com>
+
+ Compilation broken without service workers
+ https://bugs.webkit.org/show_bug.cgi?id=207037
+
+ Reviewed by Chris Dumez.
+
+ Protect the use of m_swServers, check if the SERVICE_WORKER is
+ enabled.
+
+ * NetworkProcess/NetworkProcess.cpp:
+ (WebKit::NetworkProcess::lowMemoryHandler):
+
2020-01-31 David Quesada <david_ques...@apple.com>
Remove unused WKProcessPool downloads SPI
Modified: trunk/Source/WebKit/NetworkProcess/NetworkProcess.cpp (255497 => 255498)
--- trunk/Source/WebKit/NetworkProcess/NetworkProcess.cpp 2020-01-31 16:32:59 UTC (rev 255497)
+++ trunk/Source/WebKit/NetworkProcess/NetworkProcess.cpp 2020-01-31 16:38:30 UTC (rev 255498)
@@ -296,8 +296,10 @@
networkSession.clearPrefetchCache();
});
+#if ENABLE(SERVICE_WORKER)
for (auto& swServer : m_swServers.values())
swServer->handleLowMemoryWarning();
+#endif
}
void NetworkProcess::initializeNetworkProcess(NetworkProcessCreationParameters&& parameters)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes