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

Unified Diff: third_party/WebKit/Source/platform/graphics/ProfilingCanvas.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/graphics/ProfilingCanvas.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ProfilingCanvas.cpp b/third_party/WebKit/Source/platform/graphics/ProfilingCanvas.cpp
index c0b70f57d2dcc3281054350fd517642dcf885f46..5bb0ddb48b9a36ca6f2c07dca55e80600d32033f 100644
--- a/third_party/WebKit/Source/platform/graphics/ProfilingCanvas.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ProfilingCanvas.cpp
@@ -45,7 +45,7 @@ CanvasInterceptor<ProfilingCanvas>::~CanvasInterceptor() {
double delta = WTF::monotonicallyIncreasingTime() - m_startTime;
if (auto timings = canvas()->m_timings) {
ASSERT(timings->size() == canvas()->callCount());
- timings->append(delta);
+ timings->push_back(delta);
}
}

Powered by Google App Engine
This is Rietveld 408576698