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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.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/gpu/DrawingBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
index 4023f3420e751291d9cc97de1e9cabda9e7bc632..2a8d2d6cf74323f596c7a73317deb47a8ad79753 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
@@ -230,7 +230,7 @@ std::unique_ptr<cc::SharedBitmap> DrawingBuffer::createOrRecycleBitmap() {
m_recycledBitmaps.shrink(it - m_recycledBitmaps.begin());
if (!m_recycledBitmaps.isEmpty()) {
- RecycledBitmap recycled = std::move(m_recycledBitmaps.last());
+ RecycledBitmap recycled = std::move(m_recycledBitmaps.back());
m_recycledBitmaps.pop_back();
DCHECK(recycled.size == m_size);
return std::move(recycled.bitmap);

Powered by Google App Engine
This is Rietveld 408576698