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

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

Issue 2606863002: Complete XXXPaintPropertyNode::operator== and toString() (Closed)
Patch Set: - Created 4 years 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 5ddf71865c37033b782f996e4179295f798580ae..fe547f157d58fbd9c8172cff64d747b282c1b963 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp
@@ -14,7 +14,13 @@ TransformPaintPropertyNode* TransformPaintPropertyNode::root() {
}
String TransformPaintPropertyNode::toString() const {
- return "transform=" + m_matrix.toString() + " origin=" + m_origin.toString();
+ return String::format(
+ "parent=%p transform=%s origin=%s flattensInheritedTransform=%s "
+ "renderContextID=%x directCompositingReasons=%s",
+ m_parent.get(), m_matrix.toString().ascii().data(),
+ m_origin.toString().ascii().data(),
+ m_flattensInheritedTransform ? "yes" : "no", m_renderingContextID,
+ compositingReasonsAsString(m_directCompositingReasons).ascii().data());
}
} // namespace blink
« 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