Title: [88664] trunk/Source/WebCore
- Revision
- 88664
- Author
- simon.fra...@apple.com
- Date
- 2011-06-13 11:50:55 -0700 (Mon, 13 Jun 2011)
Log Message
2011-06-13 Simon Fraser <simon.fra...@apple.com>
Reviewed by Adele Peterson.
Print out bounds origin in layer dump
https://bugs.webkit.org/show_bug.cgi?id=62583
Include m_boundsOrigin in the layer dump, which is used by layerTreeAsText().
* platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::dumpProperties):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (88663 => 88664)
--- trunk/Source/WebCore/ChangeLog 2011-06-13 18:48:36 UTC (rev 88663)
+++ trunk/Source/WebCore/ChangeLog 2011-06-13 18:50:55 UTC (rev 88664)
@@ -152,6 +152,18 @@
Reviewed by Adele Peterson.
+ Print out bounds origin in layer dump
+ https://bugs.webkit.org/show_bug.cgi?id=62583
+
+ Include m_boundsOrigin in the layer dump, which is used by layerTreeAsText().
+
+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::dumpProperties):
+
+2011-06-13 Simon Fraser <simon.fra...@apple.com>
+
+ Reviewed by Adele Peterson.
+
Add utility method to report whether a RenderLayer has any scrollbars
https://bugs.webkit.org/show_bug.cgi?id=62579
Modified: trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp (88663 => 88664)
--- trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp 2011-06-13 18:48:36 UTC (rev 88663)
+++ trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp 2011-06-13 18:50:55 UTC (rev 88664)
@@ -435,6 +435,11 @@
ts << "(position " << m_position.x() << " " << m_position.y() << ")\n";
}
+ if (m_boundsOrigin != FloatPoint()) {
+ writeIndent(ts, indent + 1);
+ ts << "(bounds origin " << m_boundsOrigin.x() << " " << m_boundsOrigin.y() << ")\n";
+ }
+
if (m_anchorPoint != FloatPoint3D(0.5f, 0.5f, 0)) {
writeIndent(ts, indent + 1);
ts << "(anchor " << m_anchorPoint.x() << " " << m_anchorPoint.y() << ")\n";
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes