Index: Source/core/dom/shadow/ElementShadow.h |
diff --git a/Source/core/dom/shadow/ElementShadow.h b/Source/core/dom/shadow/ElementShadow.h |
index 1193c54730f402ffbc6f9da862d5ee168282db7d..e5c2ef5378781a0ae0ee2b5f0e042d1a20254aef 100644 |
--- a/Source/core/dom/shadow/ElementShadow.h |
+++ b/Source/core/dom/shadow/ElementShadow.h |
@@ -50,7 +50,7 @@ public: |
ShadowRoot* oldestShadowRoot() const { return m_shadowRoots.tail(); } |
ElementShadow* containingShadow() const; |
- ShadowRoot* addShadowRoot(Element& shadowHost, ShadowRoot::ShadowRootType); |
+ ShadowRoot& addShadowRoot(Element& shadowHost, ShadowRoot::ShadowRootType); |
bool applyAuthorStyles() const { return m_applyAuthorStyles; } |
bool didAffectApplyAuthorStyles(); |