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

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

Issue 2574713003: Add toString() for paint property node classes (Closed)
Patch Set: Update test 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 f876ffecd0cbe57ffd808b925aaecf8002645cf7..85f8fe47e6ed96656ac6c7f7bbb4f7bfb48499f8 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipPaintPropertyNode.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPaintPropertyNode.cpp
@@ -16,4 +16,10 @@ ClipPaintPropertyNode* ClipPaintPropertyNode::root() {
return root;
}
+String ClipPaintPropertyNode::toString() const {
+ return String::format("localTransformSpace=%p rect=%s",
+ m_localTransformSpace.get(),
+ m_clipRect.toString().ascii().data());
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698