| Index: third_party/WebKit/Source/core/dom/Node.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
|
| index 7783068ace9779adc67635bfee7dc8179401ef83..13c37a604b4bc2faaf7c613950744b12e6bd5af1 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -580,7 +580,7 @@ inline static ShadowRoot* oldestShadowRootFor(const Node* node)
|
| if (!node->isElementNode())
|
| return nullptr;
|
| if (ElementShadow* shadow = toElement(node)->shadow())
|
| - return shadow->oldestShadowRoot();
|
| + return &shadow->oldestShadowRoot();
|
| return nullptr;
|
| }
|
| #endif
|
|
|