Title: [227446] branches/safari-605-branch/Source/WebKit
Revision
227446
Author
[email protected]
Date
2018-01-23 14:30:13 -0800 (Tue, 23 Jan 2018)

Log Message

Cherry-pick r227429. rdar://problem/36791608

Modified Paths

Diff

Modified: branches/safari-605-branch/Source/WebKit/ChangeLog (227445 => 227446)


--- branches/safari-605-branch/Source/WebKit/ChangeLog	2018-01-23 22:30:11 UTC (rev 227445)
+++ branches/safari-605-branch/Source/WebKit/ChangeLog	2018-01-23 22:30:13 UTC (rev 227446)
@@ -1,5 +1,23 @@
 2018-01-23  Jason Marcell  <[email protected]>
 
+        Cherry-pick r227429. rdar://problem/36791608
+
+    2018-01-23  Joseph Pecoraro  <[email protected]>
+
+            Web Inspector: Window resizing is broken after detaching to separate window
+            https://bugs.webkit.org/show_bug.cgi?id=181992
+            <rdar://problem/36714840>
+
+            Reviewed by Brian Burg.
+
+            * UIProcess/mac/WebInspectorProxyMac.mm:
+            (WebKit::WebInspectorProxy::platformDetach):
+            Restore the inspector view's autoresizingMask to the initial value
+            that works with a detached window. This gets changed when the view
+            gets attached to bottom/side, so we need to revert it on detaching.
+
+2018-01-23  Jason Marcell  <[email protected]>
+
         Cherry-pick r227419. rdar://problem/36791643
 
     2018-01-23  Youenn Fablet  <[email protected]>

Modified: branches/safari-605-branch/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm (227445 => 227446)


--- branches/safari-605-branch/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm	2018-01-23 22:30:11 UTC (rev 227445)
+++ branches/safari-605-branch/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm	2018-01-23 22:30:13 UTC (rev 227446)
@@ -606,6 +606,8 @@
 
     [inspectorView removeFromSuperview];
 
+    [inspectorView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
+
     // Make sure that we size the inspected view's frame after detaching so that it takes up the space that the
     // attached inspector used to. Preserve the top position of the inspected view so banners in Safari still work.
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to