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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp

Issue 1865093004: Add a transform paint property for local SVG transforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheck that SVG does not scroll and describe it in a comment Created 4 years, 8 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
Index: third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
index b138fd022613206b442311227897412e40060c99..35e8c50feb0ccabe128d0b68e330623286050c19 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
@@ -99,8 +99,12 @@ public:
printer.addPropertyNode(transform, "Transform");
if (const TransformPaintPropertyNode* perspective = paintProperties.perspective())
printer.addPropertyNode(perspective, "Perspective");
+ if (const TransformPaintPropertyNode* svgLocalTransform = paintProperties.svgLocalTransform())
+ printer.addPropertyNode(svgLocalTransform, "SvgLocalTransform");
if (const TransformPaintPropertyNode* scrollTranslation = paintProperties.scrollTranslation())
printer.addPropertyNode(scrollTranslation, "ScrollTranslation");
+ if (const TransformPaintPropertyNode* scrollbarPaintOffset = paintProperties.scrollbarPaintOffset())
+ printer.addPropertyNode(scrollbarPaintOffset, "ScrollbarPaintOffset");
}
static void printNodeAsString(const TransformPaintPropertyNode* node, StringBuilder& stringBuilder)

Powered by Google App Engine
This is Rietveld 408576698