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

Unified Diff: third_party/WebKit/Source/core/dom/TreeScopeAdopter.h

Issue 1885453002: Rename Node::treeScope() to Node::treeScopeOrDocument() Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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/TreeScopeAdopter.h
diff --git a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.h b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.h
index fddde19ad2dfe9da4520c50d22a6091204c7ccc8..b445fb9066338b3329ac0aefad7f3ab5dbea631f 100644
--- a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.h
+++ b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.h
@@ -61,7 +61,7 @@ private:
inline TreeScopeAdopter::TreeScopeAdopter(Node& toAdopt, TreeScope& newScope)
: m_toAdopt(toAdopt)
, m_newScope(newScope)
- , m_oldScope(toAdopt.treeScope())
+ , m_oldScope(toAdopt.treeScopeOrDocument())
{
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeScope.cpp ('k') | third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698