Index: third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h |
index a6f24afe8ed8c97b8931277ad69cfdf7e6f27862..08df5a77e7e97d9801cfb642c869ac03bcbec5b4 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h |
@@ -47,6 +47,7 @@ public: |
// Parent transform that this transform is relative to, or nullptr if this |
// is the root transform. |
const TransformPaintPropertyNode* parent() const { return m_parent.get(); } |
+ bool isRoot() const { return !m_parent; } |
// If true, content with this transform node (or its descendant) appears in |
// the plane of its parent. This is implemented by flattening the total |