Title: [257437] releases/WebKitGTK/webkit-2.28/Source/WebKit
Revision
257437
Author
[email protected]
Date
2020-02-26 02:56:31 -0800 (Wed, 26 Feb 2020)

Log Message

Merge r257013 - Crash in WebPageProxy::didStartProvisionalLoadForFrameShared
https://bugs.webkit.org/show_bug.cgi?id=207973

Reviewed by Chris Dumez.

Use RefPtr to store Frame*.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didStartProvisionalLoadForFrameShared):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog (257436 => 257437)


--- releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog	2020-02-26 10:56:28 UTC (rev 257436)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog	2020-02-26 10:56:31 UTC (rev 257437)
@@ -1,3 +1,15 @@
+2020-02-19  Ryosuke Niwa  <[email protected]>
+
+        Crash in WebPageProxy::didStartProvisionalLoadForFrameShared
+        https://bugs.webkit.org/show_bug.cgi?id=207973
+
+        Reviewed by Chris Dumez.
+
+        Use RefPtr to store Frame*.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::didStartProvisionalLoadForFrameShared):
+
 2020-02-19  Chris Dumez  <[email protected]>
 
         Regression(r247567) HTTP Disk cache capacity is no longer set

Modified: releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/WebPageProxy.cpp (257436 => 257437)


--- releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/WebPageProxy.cpp	2020-02-26 10:56:28 UTC (rev 257436)
+++ releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/WebPageProxy.cpp	2020-02-26 10:56:31 UTC (rev 257437)
@@ -4240,7 +4240,7 @@
 {
     PageClientProtector protector(pageClient());
 
-    WebFrameProxy* frame = process->webFrame(frameID);
+    auto frame = makeRefPtr(process->webFrame(frameID));
     MESSAGE_CHECK(process, frame);
     MESSAGE_CHECK_URL(process, url);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to