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

Unified Diff: third_party/WebKit/Source/core/html/imports/HTMLImport.cpp

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs Created 3 years, 10 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/imports/HTMLImport.cpp
diff --git a/third_party/WebKit/Source/core/html/imports/HTMLImport.cpp b/third_party/WebKit/Source/core/html/imports/HTMLImport.cpp
index 77cd44a3df39fe58eaa82fa486012f7baf1f4d90..758dfb2945ded2f700453fe2a0e4e71d04e8db5a 100644
--- a/third_party/WebKit/Source/core/html/imports/HTMLImport.cpp
+++ b/third_party/WebKit/Source/core/html/imports/HTMLImport.cpp
@@ -84,7 +84,7 @@ void HTMLImport::recalcTreeState(HTMLImport* root) {
HeapVector<Member<HTMLImport>> updated;
for (HTMLImport* i = root; i; i = traverseNext(i)) {
- snapshot.add(i, i->state());
+ snapshot.insert(i, i->state());
i->m_state = HTMLImportState::invalidState();
}

Powered by Google App Engine
This is Rietveld 408576698