Title: [242106] trunk/Source/WebKit
Revision
242106
Author
[email protected]
Date
2019-02-26 14:08:33 -0800 (Tue, 26 Feb 2019)

Log Message

Update NetworkSession to use Session Cleanup when available
https://bugs.webkit.org/show_bug.cgi?id=195019
<rdar://problem/45149868>

Reviewed by Alex Christensen.

If the build environment supports Session Cleanup, initialize it.

No test changes since this doesn't do anything on the test systems at present.

* NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(WebKit::NetworkSessionCocoa::NetworkSessionCocoa):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (242105 => 242106)


--- trunk/Source/WebKit/ChangeLog	2019-02-26 21:50:41 UTC (rev 242105)
+++ trunk/Source/WebKit/ChangeLog	2019-02-26 22:08:33 UTC (rev 242106)
@@ -1,3 +1,18 @@
+2019-02-26  Brent Fulgham  <[email protected]>
+
+        Update NetworkSession to use Session Cleanup when available
+        https://bugs.webkit.org/show_bug.cgi?id=195019
+        <rdar://problem/45149868>
+
+        Reviewed by Alex Christensen.
+
+        If the build environment supports Session Cleanup, initialize it.
+
+        No test changes since this doesn't do anything on the test systems at present.
+
+        * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
+        (WebKit::NetworkSessionCocoa::NetworkSessionCocoa):
+
 2019-02-26  Chris Dumez  <[email protected]>
 
         [iOS] Regression(PSON) Scroll position is no longer restored when navigating back to reddit.com

Modified: trunk/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm (242105 => 242106)


--- trunk/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm	2019-02-26 21:50:41 UTC (rev 242105)
+++ trunk/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm	2019-02-26 22:08:33 UTC (rev 242106)
@@ -949,6 +949,10 @@
     m_resourceLoadStatisticsDirectory = parameters.resourceLoadStatisticsDirectory;
     setResourceLoadStatisticsEnabled(parameters.enableResourceLoadStatistics);
 #endif
+
+#if HAVE(SESSION_CLEANUP)
+    activateSessionCleanup(*this);
+#endif
 }
 
 NetworkSessionCocoa::~NetworkSessionCocoa()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to