Title: [244830] branches/safari-607-branch/Source/WebKit
Revision
244830
Author
[email protected]
Date
2019-05-01 10:36:43 -0700 (Wed, 01 May 2019)

Log Message

Cherry-pick r244326. rdar://problem/50352719

    Web Inspector: CRASH when reopening tab with docked inspector on crashed page
    https://bugs.webkit.org/show_bug.cgi?id=196954
    <rdar://problem/48716433>

    Reviewed by Ryosuke Niwa.

    * UIProcess/mac/WebInspectorProxyMac.mm:
    (WebKit::WebInspectorProxy::inspectedViewFrameDidChange):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244326 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-607-branch/Source/WebKit/ChangeLog (244829 => 244830)


--- branches/safari-607-branch/Source/WebKit/ChangeLog	2019-05-01 17:36:40 UTC (rev 244829)
+++ branches/safari-607-branch/Source/WebKit/ChangeLog	2019-05-01 17:36:43 UTC (rev 244830)
@@ -1,3 +1,30 @@
+2019-04-30  Alan Coon  <[email protected]>
+
+        Cherry-pick r244326. rdar://problem/50352719
+
+    Web Inspector: CRASH when reopening tab with docked inspector on crashed page
+    https://bugs.webkit.org/show_bug.cgi?id=196954
+    <rdar://problem/48716433>
+    
+    Reviewed by Ryosuke Niwa.
+    
+    * UIProcess/mac/WebInspectorProxyMac.mm:
+    (WebKit::WebInspectorProxy::inspectedViewFrameDidChange):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-04-15  Joseph Pecoraro  <[email protected]>
+
+            Web Inspector: CRASH when reopening tab with docked inspector on crashed page
+            https://bugs.webkit.org/show_bug.cgi?id=196954
+            <rdar://problem/48716433>
+
+            Reviewed by Ryosuke Niwa.
+
+            * UIProcess/mac/WebInspectorProxyMac.mm:
+            (WebKit::WebInspectorProxy::inspectedViewFrameDidChange):
+
 2019-04-24  Alan Coon  <[email protected]>
 
         Revert r244173. rdar://problem/28160396

Modified: branches/safari-607-branch/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm (244829 => 244830)


--- branches/safari-607-branch/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm	2019-05-01 17:36:40 UTC (rev 244829)
+++ branches/safari-607-branch/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm	2019-05-01 17:36:43 UTC (rev 244830)
@@ -555,6 +555,9 @@
         return;
     }
 
+    if (!inspectedPage())
+        return;
+
     NSView *inspectedView = inspectedPage()->inspectorAttachmentView();
     WKWebView *inspectorView = [m_inspectorViewController webView];
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to