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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptRunner.cpp

Issue 2743023002: Migrate WTF::Deque::append() to ::push_back() (Closed)
Patch Set: rebase Created 3 years, 9 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 17606f82aa5a3a53ae676609b7b4baa60615e1f5..eaf82d85dfd79d098a7f3f0addf4f30c8a935ab2 100644
--- a/third_party/WebKit/Source/core/dom/ScriptRunner.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptRunner.cpp
@@ -58,7 +58,7 @@ void ScriptRunner::queueScriptForExecution(ScriptLoader* scriptLoader,
break;
case InOrder:
- m_pendingInOrderScripts.append(scriptLoader);
+ m_pendingInOrderScripts.push_back(scriptLoader);
m_numberOfInOrderScriptsWithPendingNotification++;
break;
case None:
@@ -100,7 +100,8 @@ void ScriptRunner::scheduleReadyInOrderScripts() {
// notifyScriptLoadError(); it continues this draining of ready scripts.
if (m_pendingInOrderScripts.first()->errorOccurred())
break;
- m_inOrderScriptsToExecuteSoon.append(m_pendingInOrderScripts.takeFirst());
+ m_inOrderScriptsToExecuteSoon.push_back(
+ m_pendingInOrderScripts.takeFirst());
postTask(BLINK_FROM_HERE);
}
}
@@ -117,7 +118,7 @@ void ScriptRunner::notifyScriptReady(ScriptLoader* scriptLoader,
SECURITY_CHECK(m_pendingAsyncScripts.contains(scriptLoader));
m_pendingAsyncScripts.erase(scriptLoader);
- m_asyncScriptsToExecuteSoon.append(scriptLoader);
+ m_asyncScriptsToExecuteSoon.push_back(scriptLoader);
postTask(BLINK_FROM_HERE);
« no previous file with comments | « third_party/WebKit/Source/core/dom/Fullscreen.cpp ('k') | third_party/WebKit/Source/core/editing/commands/UndoStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698