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

Unified Diff: third_party/WebKit/Source/core/html/HTMLDataListElement.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
Index: third_party/WebKit/Source/core/html/HTMLDataListElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLDataListElement.cpp b/third_party/WebKit/Source/core/html/HTMLDataListElement.cpp
index 2ba053e998cdd88e20f8c88d3c72e82bc0db37d2..48bf486a601aeae0369b56b749a2f39dc9779a98 100644
--- a/third_party/WebKit/Source/core/html/HTMLDataListElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLDataListElement.cpp
@@ -59,17 +59,17 @@ void HTMLDataListElement::childrenChanged(const ChildrenChange& change)
{
HTMLElement::childrenChanged(change);
if (!change.byParser)
- treeScope().idTargetObserverRegistry().notifyObservers(getIdAttribute());
+ treeScopeOrDocument().idTargetObserverRegistry().notifyObservers(getIdAttribute());
}
void HTMLDataListElement::finishParsingChildren()
{
- treeScope().idTargetObserverRegistry().notifyObservers(getIdAttribute());
+ treeScopeOrDocument().idTargetObserverRegistry().notifyObservers(getIdAttribute());
}
void HTMLDataListElement::optionElementChildrenChanged()
{
- treeScope().idTargetObserverRegistry().notifyObservers(getIdAttribute());
+ treeScopeOrDocument().idTargetObserverRegistry().notifyObservers(getIdAttribute());
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698