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

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

Issue 2868823002: getElementsByTagName() should take a qualifiedName in parameter (Closed)
Patch Set: Rebased And Align with review comments Created 3 years, 7 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/NodeListsNodeData.cpp
diff --git a/third_party/WebKit/Source/core/dom/NodeListsNodeData.cpp b/third_party/WebKit/Source/core/dom/NodeListsNodeData.cpp
index 1e7cc5ba8c615a9b5cf588cea47eb7a995960096..9a484a17a80114fe28878a4356c454dd42ca10a6 100644
--- a/third_party/WebKit/Source/core/dom/NodeListsNodeData.cpp
+++ b/third_party/WebKit/Source/core/dom/NodeListsNodeData.cpp
@@ -41,14 +41,14 @@ void NodeListsNodeData::InvalidateCaches(const QualifiedName* attr_name) {
if (attr_name)
return;
- for (auto& cache : tag_collection_cache_ns_)
+ for (auto& cache : tag_collection_ns_caches_)
cache.value->InvalidateCache();
}
DEFINE_TRACE(NodeListsNodeData) {
visitor->Trace(child_node_list_);
visitor->Trace(atomic_name_caches_);
- visitor->Trace(tag_collection_cache_ns_);
+ visitor->Trace(tag_collection_ns_caches_);
}
DEFINE_TRACE_WRAPPERS(NodeListsNodeData) {
@@ -62,7 +62,7 @@ DEFINE_TRACE_WRAPPERS(NodeListsNodeData) {
static_cast<const LiveNodeList*>(list.Get()));
}
}
- for (const auto list : tag_collection_cache_ns_.Values()) {
+ for (const auto list : tag_collection_ns_caches_.Values()) {
visitor->TraceWrappersWithManualWriteBarrier(list.Get());
}
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeListsNodeData.h ('k') | third_party/WebKit/Source/core/dom/TagCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698