Title: [246248] trunk/Source/WebKit
Revision
246248
Author
bfulg...@apple.com
Date
2019-06-09 17:25:19 -0700 (Sun, 09 Jun 2019)

Log Message

[iOS] ResourceLoadStatistics state is not properly relayed to the NetworkProcess
https://bugs.webkit.org/show_bug.cgi?id=198692
<rdar://problem/51538088>

Reviewed by Maciej Stachowiak.

* UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::setResourceLoadStatisticsEnabled): Message the NetworkProcess
on state change.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (246247 => 246248)


--- trunk/Source/WebKit/ChangeLog	2019-06-09 21:47:55 UTC (rev 246247)
+++ trunk/Source/WebKit/ChangeLog	2019-06-10 00:25:19 UTC (rev 246248)
@@ -1,3 +1,15 @@
+2019-06-09  Brent Fulgham  <bfulg...@apple.com>
+
+        [iOS] ResourceLoadStatistics state is not properly relayed to the NetworkProcess
+        https://bugs.webkit.org/show_bug.cgi?id=198692
+        <rdar://problem/51538088>
+
+        Reviewed by Maciej Stachowiak.
+
+        * UIProcess/WebProcessPool.cpp:
+        (WebKit::WebProcessPool::setResourceLoadStatisticsEnabled): Message the NetworkProcess
+        on state change.
+
 2019-06-08  Dean Jackson  <d...@apple.com>
 
         Drag starting state can get stuck even though the drag has ended

Modified: trunk/Source/WebKit/UIProcess/WebProcessPool.cpp (246247 => 246248)


--- trunk/Source/WebKit/UIProcess/WebProcessPool.cpp	2019-06-09 21:47:55 UTC (rev 246247)
+++ trunk/Source/WebKit/UIProcess/WebProcessPool.cpp	2019-06-10 00:25:19 UTC (rev 246248)
@@ -1488,6 +1488,9 @@
 void WebProcessPool::setResourceLoadStatisticsEnabled(bool enabled)
 {
     sendToAllProcesses(Messages::WebProcess::SetResourceLoadStatisticsEnabled(enabled));
+#if ENABLE(RESOURCE_LOAD_STATISTICS)
+    sendToNetworkingProcess(Messages::NetworkProcess::SetResourceLoadStatisticsEnabled(enabled));
+#endif
 }
 
 void WebProcessPool::clearResourceLoadStatistics()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to