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

Unified Diff: third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp

Issue 2502413004: WTF/std normalization: replace WTF::Vector::last with ::back (Closed)
Patch Set: rebase Created 4 years, 1 month 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/PictureSnapshot.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp b/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
index 085b12cf1e37b588fcf1bd96c7517e47f5e2fb57..aa01136216c92dc586250b70f0400d546e885bac 100644
--- a/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
+++ b/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
@@ -179,7 +179,7 @@ std::unique_ptr<PictureSnapshot::Timings> PictureSnapshot::profile(
double stopTime = now + minDuration;
for (unsigned step = 0; step < minRepeatCount || now < stopTime; ++step) {
timings->append(Vector<double>());
- Vector<double>* currentTimings = &timings->last();
+ Vector<double>* currentTimings = &timings->back();
if (timings->size() > 1)
currentTimings->reserveCapacity(timings->begin()->size());
ProfilingCanvas canvas(bitmap);

Powered by Google App Engine
This is Rietveld 408576698