Index: third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h b/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h |
index 8a8b8c04beb47d7cd98e3cb605ab1db39d50eed8..b1247f307b1764e027faaf2c964c783aed01f108 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h |
@@ -35,6 +35,7 @@ public: |
// Parent effect or nullptr if this is the root effect. |
const EffectPaintPropertyNode* parent() const { return m_parent.get(); } |
+ bool isRoot() const { return !m_parent; } |
private: |
EffectPaintPropertyNode(PassRefPtr<const EffectPaintPropertyNode> parent, float opacity) |