Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 2327743002: Rename Node::shadowHost() to Node::ownerShadowHost() (Closed)
Patch Set: fix Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
« no previous file with comments | « third_party/WebKit/Source/core/css/SelectorChecker.cpp ('k') | third_party/WebKit/Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698