| Index: Source/core/dom/Element.h
|
| diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
|
| index 6cc0cb2fc30bb8dc212b348bb673686451a67084..685089561b546514356bfa1aa735a630f3434a15 100644
|
| --- a/Source/core/dom/Element.h
|
| +++ b/Source/core/dom/Element.h
|
| @@ -313,7 +313,7 @@ public:
|
| bool hasAuthorShadowRoot() const { return shadowRoot(); }
|
| virtual void didAddShadowRoot(ShadowRoot&);
|
| ShadowRoot* userAgentShadowRoot() const;
|
| - ShadowRoot* ensureUserAgentShadowRoot();
|
| + ShadowRoot& ensureUserAgentShadowRoot();
|
| const AtomicString& shadowPseudoId() const;
|
|
|
| RenderStyle* computedStyle(PseudoId = NOPSEUDO);
|
| @@ -576,7 +576,7 @@ private:
|
|
|
| // FIXME: Everyone should allow author shadows.
|
| virtual bool areAuthorShadowsAllowed() const { return true; }
|
| - virtual void didAddUserAgentShadowRoot(ShadowRoot*) { }
|
| + virtual void didAddUserAgentShadowRoot(ShadowRoot&) { }
|
| virtual bool alwaysCreateUserAgentShadowRoot() const { return false; }
|
|
|
| // FIXME: Remove the need for Attr to call willModifyAttribute/didModifyAttribute.
|
|
|