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

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

Issue 2574773002: Migrate WTF::Vector::append() to ::push_back() [part 4 of N] (Closed)
Patch Set: rebase Created 4 years 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/ScriptedIdleTaskController.cpp
diff --git a/third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp b/third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp
index 4a5d1eefc8f88043f9a06d3ba4fe30fbaf87548b..9f7b67a4bce132a47b018ba441729a228aa771ae 100644
--- a/third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp
@@ -143,7 +143,7 @@ void ScriptedIdleTaskController::callbackFired(
if (m_suspended) {
if (callbackType == IdleDeadline::CallbackType::CalledByTimeout) {
// Queue for execution when we are resumed.
- m_pendingTimeouts.append(id);
+ m_pendingTimeouts.push_back(id);
}
// Just drop callbacks called while suspended, these will be reposted on the
// idle task queue when we are resumed.

Powered by Google App Engine
This is Rietveld 408576698