Index: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h |
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h |
index c149badc3a4f0c8ff9736b0404159992804d1d2b..93818ae677fb73b9b7b67839c7b11a1e70669a8e 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h |
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h |
@@ -79,6 +79,7 @@ public: |
ShadowRoot* olderShadowRootForBindings() const; |
bool isOpen() const { return type() == ShadowRootType::V0 || type() == ShadowRootType::Open; } |
+ bool isV1() const { return type() == ShadowRootType::Open || type() == ShadowRootType::Closed; } |
bool isYoungest() const { return !youngerShadowRoot(); } |
bool isOldest() const { return !olderShadowRoot(); } |