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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchManager.cpp

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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/modules/fetch/FetchManager.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
index 6da72cf763bc8e8dca39aee571e155ece6eed0cd..344f905d6428c2712305e9f15faa3fac3cf62a80 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
@@ -918,7 +918,7 @@ ScriptPromise FetchManager::fetch(ScriptState* scriptState,
Loader* loader =
Loader::create(getExecutionContext(), this, resolver, request,
scriptState->world().isIsolatedWorld());
- m_loaders.add(loader);
+ m_loaders.insert(loader);
loader->start();
return promise;
}

Powered by Google App Engine
This is Rietveld 408576698