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

Unified Diff: third_party/WebKit/Source/core/dom/Node.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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index 87242d40a8318fd9a7a5a8cfc884b8c13d419b4d..42650c6b2bf21868317c5596976eacef2459fc18 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -298,10 +298,10 @@ public:
bool hasCustomStyleCallbacks() const { return getFlag(HasCustomStyleCallbacksFlag); }
// If this node is in a shadow tree, returns its shadow host. Otherwise, returns nullptr.
- // TODO(kochi): crbug.com/507413 shadowHost() can return nullptr even when it is in a
+ // TODO(kochi): crbug.com/507413 ownerShadowHost() can return nullptr even when it is in a
// shadow tree but its root is detached from its host. This can happen when handling
// queued events (e.g. during execCommand()).
- Element* shadowHost() const;
+ Element* ownerShadowHost() const;
// crbug.com/569532: containingShadowRoot() can return nullptr even if isInShadowTree() returns true.
// This can happen when handling queued events (e.g. during execCommand())
ShadowRoot* containingShadowRoot() const;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698