Title: [231723] trunk/Source/WebKit
Revision
231723
Author
[email protected]
Date
2018-05-11 15:30:45 -0700 (Fri, 11 May 2018)

Log Message

Followup to: Make sure history navigations reuse the existing process when necessary.
https://bugs.webkit.org/show_bug.cgi?id=185532

Reviewed by Andy Estes.

* UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::processForNavigationInternal): When re-using the same process,
  don't change the policy action.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (231722 => 231723)


--- trunk/Source/WebKit/ChangeLog	2018-05-11 22:19:03 UTC (rev 231722)
+++ trunk/Source/WebKit/ChangeLog	2018-05-11 22:30:45 UTC (rev 231723)
@@ -1,3 +1,14 @@
+2018-05-11  Brady Eidson  <[email protected]>
+
+        Followup to: Make sure history navigations reuse the existing process when necessary.
+        https://bugs.webkit.org/show_bug.cgi?id=185532
+
+        Reviewed by Andy Estes.
+
+        * UIProcess/WebProcessPool.cpp:
+        (WebKit::WebProcessPool::processForNavigationInternal): When re-using the same process,
+          don't change the policy action.
+
 2018-05-11  Charles Vazac  <[email protected]>
 
         Runtime feature flag for Server-Timing

Modified: trunk/Source/WebKit/UIProcess/WebProcessPool.cpp (231722 => 231723)


--- trunk/Source/WebKit/UIProcess/WebProcessPool.cpp	2018-05-11 22:19:03 UTC (rev 231722)
+++ trunk/Source/WebKit/UIProcess/WebProcessPool.cpp	2018-05-11 22:30:45 UTC (rev 231723)
@@ -2112,10 +2112,8 @@
         // If the target back/forward item and the current back/forward item originated
         // in the same WebProcess then we should reuse the current WebProcess.
         if (auto* currentItem = page.backForwardList().currentItem()) {
-            if (currentItem->itemID().processIdentifier == backForwardListItem->itemID().processIdentifier) {
-                action = ""
+            if (currentItem->itemID().processIdentifier == backForwardListItem->itemID().processIdentifier)
                 return page.process();
-            }
         }
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to