Title: [103094] trunk/Source/WebKit/mac
Revision
103094
Author
simon.fra...@apple.com
Date
2011-12-16 12:41:15 -0800 (Fri, 16 Dec 2011)

Log Message

<rdar://problem/10589427> Avoid calling -setGeometryFlipped ourselves on the layer hosting view's layer

Reviewed by Sam Weinig.

Now that we're using a flipped view to host the compositing layers,
we should not set geometryFlipped on the root layer ourselves.

* WebView/WebHTMLView.mm:
(-[WebHTMLView attachRootLayer:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (103093 => 103094)


--- trunk/Source/WebKit/mac/ChangeLog	2011-12-16 20:41:09 UTC (rev 103093)
+++ trunk/Source/WebKit/mac/ChangeLog	2011-12-16 20:41:15 UTC (rev 103094)
@@ -1,3 +1,15 @@
+2011-12-16  Simon Fraser  <simon.fra...@apple.com>
+
+        <rdar://problem/10589427> Avoid calling -setGeometryFlipped ourselves on the layer hosting view's layer
+
+        Reviewed by Sam Weinig.
+        
+        Now that we're using a flipped view to host the compositing layers,
+        we should not set geometryFlipped on the root layer ourselves.
+
+        * WebView/WebHTMLView.mm:
+        (-[WebHTMLView attachRootLayer:]):
+
 2011-12-16  Mark Hahnenberg  <mhahnenb...@apple.com>
 
         De-virtualize destructors

Modified: trunk/Source/WebKit/mac/WebView/WebHTMLView.mm (103093 => 103094)


--- trunk/Source/WebKit/mac/WebView/WebHTMLView.mm	2011-12-16 20:41:09 UTC (rev 103093)
+++ trunk/Source/WebKit/mac/WebView/WebHTMLView.mm	2011-12-16 20:41:15 UTC (rev 103094)
@@ -5498,7 +5498,7 @@
 #ifdef BUILDING_ON_LEOPARD
     [viewLayer setSublayerTransform:CATransform3DMakeScale(1, -1, 1)]; // setGeometryFlipped: doesn't exist on Leopard.
     [self _updateLayerHostingViewPosition];
-#else
+#elsif (BUILDING_ON_SNOW_LEOPARD || BUILDING_ON_LION)
     // Do geometry flipping here, which flips all the compositing layers so they are top-down.
     [viewLayer setGeometryFlipped:YES];
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to