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

Unified Diff: third_party/WebKit/Source/platform/TimerTest.cpp

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h 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/platform/TimerTest.cpp
diff --git a/third_party/WebKit/Source/platform/TimerTest.cpp b/third_party/WebKit/Source/platform/TimerTest.cpp
index edbff115f8fa4e3d70d4752cd44003dbfbeda8fb..d5ccc0a527c79697a7bcaa8b79070eddf3da0fb0 100644
--- a/third_party/WebKit/Source/platform/TimerTest.cpp
+++ b/third_party/WebKit/Source/platform/TimerTest.cpp
@@ -34,12 +34,12 @@ class TimerTest : public testing::Test {
}
void countingTask(TimerBase*) {
- m_runTimes.append(monotonicallyIncreasingTime());
+ m_runTimes.push_back(monotonicallyIncreasingTime());
}
void recordNextFireTimeTask(TimerBase* timer) {
- m_nextFireTimes.append(monotonicallyIncreasingTime() +
- timer->nextFireInterval());
+ m_nextFireTimes.push_back(monotonicallyIncreasingTime() +
+ timer->nextFireInterval());
}
void runUntilDeadline(double deadline) {

Powered by Google App Engine
This is Rietveld 408576698