| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index 271ecb12a629dd5a41b5fbf3b6adc240396aba86..08e1817cfe6ff258e84a5e7de1cd1a4846ed3f85 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -1985,7 +1985,7 @@ ShadowRoot* Element::shadowRoot() const
|
| ElementShadow* elementShadow = shadow();
|
| if (!elementShadow)
|
| return nullptr;
|
| - return elementShadow->youngestShadowRoot();
|
| + return &elementShadow->youngestShadowRoot();
|
| }
|
|
|
| ShadowRoot* Element::openShadowRoot() const
|
|
|