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

Unified Diff: Source/core/dom/Node.cpp

Issue 374133002: Remove remaining callers of deprecatedShadowAncestorNode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 5 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 | « Source/core/dom/Node.h ('k') | Source/core/page/FocusController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 3a23dd8ba9bc196c5f49bf76a3392150de971f52..a28ea51d41e712ceff1dfa4adc4a1302488b4f14 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -1147,14 +1147,6 @@ Element* Node::shadowHost() const
return 0;
}
-Node* Node::deprecatedShadowAncestorNode() const
-{
- if (ShadowRoot* root = containingShadowRoot())
- return root->host();
-
- return const_cast<Node*>(this);
-}
-
ShadowRoot* Node::containingShadowRoot() const
{
Node& root = treeScope().rootNode();
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/page/FocusController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698