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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipPaintPropertyNode.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
Index: third_party/WebKit/Source/platform/graphics/paint/ClipPaintPropertyNode.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipPaintPropertyNode.cpp b/third_party/WebKit/Source/platform/graphics/paint/ClipPaintPropertyNode.cpp
index 85f8fe47e6ed96656ac6c7f7bbb4f7bfb48499f8..ced22943129794f07d23738da46a483d660bf39b 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipPaintPropertyNode.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPaintPropertyNode.cpp
@@ -17,9 +17,11 @@ ClipPaintPropertyNode* ClipPaintPropertyNode::root() {
}
String ClipPaintPropertyNode::toString() const {
- return String::format("localTransformSpace=%p rect=%s",
- m_localTransformSpace.get(),
- m_clipRect.toString().ascii().data());
+ return String::format(
+ "parent=%p localTransformSpace=%p rect=%s directCompositingReasons=%s",
+ m_parent.get(), m_localTransformSpace.get(),
+ m_clipRect.toString().ascii().data(),
+ compositingReasonsAsString(m_directCompositingReasons).ascii().data());
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698