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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsContext.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/GraphicsContext.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
index fe833dd1b16659e21619242df01a888ad1b24e3d..334fbbfab7e102718dff740b8105d688958eb394 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
@@ -75,7 +75,7 @@ GraphicsContext::GraphicsContext(PaintController& paintController,
// FIXME: Do some tests to determine how many states are typically used, and
// allocate several here.
m_paintStateStack.append(GraphicsContextState::create());
- m_paintState = m_paintStateStack.last().get();
+ m_paintState = m_paintStateStack.back().get();
if (contextDisabled()) {
DEFINE_STATIC_LOCAL(SkCanvas*, nullCanvas, (SkCreateNullCanvas()));

Powered by Google App Engine
This is Rietveld 408576698