Chromium Code Reviews| 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 70cbe4c0154b5391e9ff77032e88dcbb18bf8927..11e271a8c1eb69c27e42d2f1bbc90194a3d1ce7c 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp |
| @@ -4,6 +4,8 @@ |
| #include "platform/graphics/paint/TransformPaintPropertyNode.h" |
| +#include "platform/graphics/paint/PropertyTreeState.h" |
| + |
| namespace blink { |
| TransformPaintPropertyNode* TransformPaintPropertyNode::root() { |
| @@ -26,4 +28,13 @@ String TransformPaintPropertyNode::toString() const { |
| m_compositorElementId.primaryId, m_compositorElementId.secondaryId); |
| } |
| +#if DCHECK_IS_ON() |
| + |
| +String TransformPaintPropertyNode::treeAsString() const { |
| + return blink::PropertyTreeStatePrinter<blink::TransformPaintPropertyNode>() |
|
wkorman
2017/01/17 19:19:58
Do we still need the blink:: prefix on these? Same
|
| + .pathAsString(this); |
| +} |
| + |
| +#endif |
| + |
| } // namespace blink |