Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp

Issue 2651093003: Make scroll translation transform nodes reference scroll nodes (Closed)
Patch Set: Add note about scroll tree differences Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp
index 69abe7eabdc3739965165e027b918f4223fe5efa..7796b1a9d2432afde6d1ed8e6cae2a7ae308cb27 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp
@@ -11,16 +11,17 @@ namespace blink {
TransformPaintPropertyNode* TransformPaintPropertyNode::root() {
DEFINE_STATIC_REF(TransformPaintPropertyNode, root,
(TransformPaintPropertyNode::create(
- nullptr, TransformationMatrix(), FloatPoint3D())));
+ nullptr, TransformationMatrix(), FloatPoint3D(),
+ ScrollPaintPropertyNode::root())));
return root;
}
+// TODO(pdr): print out scroll node information.
String TransformPaintPropertyNode::toString() const {
return String::format(
"parent=%p transform=%s origin=%s flattensInheritedTransform=%s "
"renderingContextId=%x directCompositingReasons=%s "
- "compositorElementId=(%d, "
- "%d)",
+ "compositorElementId=(%d, %d)",
m_parent.get(), m_matrix.toString().ascii().data(),
m_origin.toString().ascii().data(),
m_flattensInheritedTransform ? "yes" : "no", m_renderingContextId,
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698