Title: [184084] releases/WebKitGTK/webkit-2.8/Source/WebCore
Revision
184084
Author
[email protected]
Date
2015-05-11 05:59:46 -0700 (Mon, 11 May 2015)

Log Message

Merge r182880 - We should dump GraphicsLayer's anchorPoint z component
https://bugs.webkit.org/show_bug.cgi?id=143815

Reviewed by Tim Horton.

We didn't include the z component of a layer's anchor point when dumping.
Dump if it's non-zero (to avoid having to change lots of test output).
No test with non-zero z appears to dump layers.

* platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::dumpProperties):
* rendering/style/RenderStyle.cpp:
(WebCore::requireTransformOrigin): Remove a FIXME which, on further consideration,
is wrong.

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.8/Source/WebCore/ChangeLog (184083 => 184084)


--- releases/WebKitGTK/webkit-2.8/Source/WebCore/ChangeLog	2015-05-11 12:10:06 UTC (rev 184083)
+++ releases/WebKitGTK/webkit-2.8/Source/WebCore/ChangeLog	2015-05-11 12:59:46 UTC (rev 184084)
@@ -1,3 +1,20 @@
+2015-04-15  Simon Fraser  <[email protected]>
+
+        We should dump GraphicsLayer's anchorPoint z component
+        https://bugs.webkit.org/show_bug.cgi?id=143815
+
+        Reviewed by Tim Horton.
+
+        We didn't include the z component of a layer's anchor point when dumping.
+        Dump if it's non-zero (to avoid having to change lots of test output).
+        No test with non-zero z appears to dump layers.
+
+        * platform/graphics/GraphicsLayer.cpp:
+        (WebCore::GraphicsLayer::dumpProperties):
+        * rendering/style/RenderStyle.cpp:
+        (WebCore::requireTransformOrigin): Remove a FIXME which, on further consideration,
+        is wrong.
+
 2015-04-15  Alexey Proskuryakov  <[email protected]>
 
         No thread safety when passing ThreadableLoaderOptions from a worker thread

Modified: releases/WebKitGTK/webkit-2.8/Source/WebCore/platform/graphics/GraphicsLayer.cpp (184083 => 184084)


--- releases/WebKitGTK/webkit-2.8/Source/WebCore/platform/graphics/GraphicsLayer.cpp	2015-05-11 12:10:06 UTC (rev 184083)
+++ releases/WebKitGTK/webkit-2.8/Source/WebCore/platform/graphics/GraphicsLayer.cpp	2015-05-11 12:59:46 UTC (rev 184084)
@@ -621,7 +621,10 @@
 
     if (m_anchorPoint != FloatPoint3D(0.5f, 0.5f, 0)) {
         writeIndent(ts, indent + 1);
-        ts << "(anchor " << m_anchorPoint.x() << " " << m_anchorPoint.y() << ")\n";
+        ts << "(anchor " << m_anchorPoint.x() << " " << m_anchorPoint.y();
+        if (m_anchorPoint.z())
+            ts << " " << m_anchorPoint.z();
+        ts << ")\n";
     }
 
     if (m_size != IntSize()) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to