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

Unified Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.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/Canvas2DLayerBridge.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
index 82a8999a88a1cc5b4537877d62168eec5ed54379..06aae62ec7ed80ee54a8261fe00c38beb8479a3f 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
@@ -296,7 +296,7 @@ bool Canvas2DLayerBridge::prepareIOSurfaceMailboxFromImage(
RefPtr<Canvas2DLayerBridge::ImageInfo>
Canvas2DLayerBridge::createIOSurfaceBackedTexture() {
if (!m_imageInfoCache.isEmpty()) {
- RefPtr<Canvas2DLayerBridge::ImageInfo> info = m_imageInfoCache.last();
+ RefPtr<Canvas2DLayerBridge::ImageInfo> info = m_imageInfoCache.back();
m_imageInfoCache.pop_back();
return info;
}

Powered by Google App Engine
This is Rietveld 408576698