Title: [148538] trunk/Source/WebKit2
Revision
148538
Author
[email protected]
Date
2013-04-16 13:15:42 -0700 (Tue, 16 Apr 2013)

Log Message

Make resizing the docked Web Inspector stay in sync with the inspected view.

https://webkit.org/b/114682

Reviewed by Joseph Pecoraro.

* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::inspectedViewFrameDidChange):
Disable screen updates to make sure the layers for both views resize in sync.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (148537 => 148538)


--- trunk/Source/WebKit2/ChangeLog	2013-04-16 20:05:38 UTC (rev 148537)
+++ trunk/Source/WebKit2/ChangeLog	2013-04-16 20:15:42 UTC (rev 148538)
@@ -1,3 +1,15 @@
+2013-04-16  Timothy Hatcher  <[email protected]>
+
+        Make resizing the docked Web Inspector stay in sync with the inspected view.
+
+        https://webkit.org/b/114682
+
+        Reviewed by Joseph Pecoraro.
+
+        * UIProcess/mac/WebInspectorProxyMac.mm:
+        (WebKit::WebInspectorProxy::inspectedViewFrameDidChange):
+        Disable screen updates to make sure the layers for both views resize in sync.
+
 2013-04-15  Anders Carlsson  <[email protected]>
 
         Remove unneeded headers from ScriptExecutionContext.h

Modified: trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm (148537 => 148538)


--- trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm	2013-04-16 20:05:38 UTC (rev 148537)
+++ trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm	2013-04-16 20:15:42 UTC (rev 148538)
@@ -555,7 +555,10 @@
         }
     }
 
-    [m_inspectorView.get() setFrame:inspectorFrame];
+    // Disable screen updates to make sure the layers for both views resize in sync.
+    [[m_inspectorView window] disableScreenUpdatesUntilFlush];
+
+    [m_inspectorView setFrame:inspectorFrame];
     [inspectedView setFrame:inspectedViewFrame];
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to