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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptRunner.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/core/dom/ScriptRunner.cpp
diff --git a/third_party/WebKit/Source/core/dom/ScriptRunner.cpp b/third_party/WebKit/Source/core/dom/ScriptRunner.cpp
index 51ed26ccd986e9fbab8b2c461d9fe789422f9ef1..6b7e8009fbfcfd64982d4ccdcdbb71b4a5d9644e 100644
--- a/third_party/WebKit/Source/core/dom/ScriptRunner.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptRunner.cpp
@@ -53,7 +53,7 @@ void ScriptRunner::queueScriptForExecution(ScriptLoader* scriptLoader,
m_document->incrementLoadEventDelayCount();
switch (executionType) {
case Async:
- m_pendingAsyncScripts.add(scriptLoader);
+ m_pendingAsyncScripts.insert(scriptLoader);
break;
case InOrder:
« no previous file with comments | « third_party/WebKit/Source/core/dom/ResizeObserverController.cpp ('k') | third_party/WebKit/Source/core/dom/SecurityContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698