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; |