| Index: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| index 3c2dbb90c5f908583efdb5e25bcc3ceee1c2be86..72cb6dbcb9c73f41ab73139f964c2b2a3d1112c6 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -480,7 +480,7 @@ static bool shouldCheckScope(const Element& element, const Node& scopingNode, bo
|
| const TreeScope* scope = &scopingNode.treeScope();
|
| while (scope && scope->parentTreeScope() != &element.treeScope())
|
| scope = scope->parentTreeScope();
|
| - Element* shadowHost = scope ? scope->rootNode().shadowHost() : nullptr;
|
| + Element* shadowHost = scope ? scope->rootNode().ownerShadowHost() : nullptr;
|
| return shadowHost && element.isDescendantOf(shadowHost);
|
| }
|
|
|
|
|