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

Unified Diff: third_party/WebKit/Source/core/dom/LiveNodeListBase.cpp

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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/Node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/LiveNodeListBase.cpp
diff --git a/third_party/WebKit/Source/core/dom/LiveNodeListBase.cpp b/third_party/WebKit/Source/core/dom/LiveNodeListBase.cpp
index ee9308998fa6eb9602f4a9e714593c93a1a1029c..02526fe04959e70b608536ee7dda862acd319a33 100644
--- a/third_party/WebKit/Source/core/dom/LiveNodeListBase.cpp
+++ b/third_party/WebKit/Source/core/dom/LiveNodeListBase.cpp
@@ -39,7 +39,7 @@ void LiveNodeListBase::invalidateCacheForAttribute(const QualifiedName* attrName
ContainerNode& LiveNodeListBase::rootNode() const
{
if (isRootedAtTreeScope() && m_ownerNode->isInTreeScope())
- return m_ownerNode->treeScope().rootNode();
+ return m_ownerNode->treeScopeOrDocument().rootNode();
return *m_ownerNode;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698