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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h

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/dom/shadow/InsertionPoint.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h
index d34aa24e285ebaac8119f1f16295cd4e718eaa27..ca396d07ae506433fb0db5bf839291f7b01ebaf2 100644
--- a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h
+++ b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h
@@ -104,9 +104,9 @@ inline ElementShadow* shadowWhereNodeCanBeDistributed(const Node& node)
if (!parent)
return 0;
if (parent->isShadowRoot() && !toShadowRoot(parent)->isYoungest())
- return node.shadowHost()->shadow();
+ return node.ownerShadowHost()->shadow();
if (isActiveInsertionPoint(*parent))
- return node.shadowHost()->shadow();
+ return node.ownerShadowHost()->shadow();
if (parent->isElementNode())
return toElement(parent)->shadow();
return 0;
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeScope.cpp ('k') | third_party/WebKit/Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698