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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.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/web/ServiceWorkerGlobalScopeProxy.cpp
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
index 4717e3dca23e14cc450c2d18fd06b19013c928be..e22ac3b405e330206b0533c0d1184ea982b97bb7 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
@@ -185,7 +185,7 @@ void ServiceWorkerGlobalScopeProxy::dispatchFetchEvent(
if (navigationPreloadSent) {
// Keep |fetchEvent| until onNavigationPreloadResponse() or
// onNavigationPreloadError() will be called.
- m_pendingPreloadFetchEvents.add(fetchEventID, fetchEvent);
+ m_pendingPreloadFetchEvents.insert(fetchEventID, fetchEvent);
}
waitUntilObserver->willDispatchEvent();
respondWithObserver->willDispatchEvent();

Powered by Google App Engine
This is Rietveld 408576698