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

Unified Diff: third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.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/workers/ParentFrameTaskRunners.cpp
diff --git a/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp b/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp
index cff341e30733b797f4255c2ddff13cf321015570..ef83daafe7ac9ee5ee25813ddb788fa996467178 100644
--- a/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp
+++ b/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp
@@ -21,7 +21,7 @@ ParentFrameTaskRunners::ParentFrameTaskRunners(LocalFrame* frame)
for (auto type : {TaskType::UnspecedTimer, TaskType::UnspecedLoading,
TaskType::Networking, TaskType::PostedMessage,
TaskType::CanvasBlobSerialization, TaskType::Unthrottled}) {
- m_taskRunners.add(type, TaskRunnerHelper::get(type, frame));
+ m_taskRunners.insert(type, TaskRunnerHelper::get(type, frame));
}
}

Powered by Google App Engine
This is Rietveld 408576698