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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.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/compositing/PaintArtifactCompositor.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
index 3ff56b2c1667d58a2a10b899ad302369a2aeb73a..3661cdbab587baee013f0a6ca78b7cab5c659a02 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
@@ -371,7 +371,7 @@ class PropertyTreeManager {
int compositorIdForClipNode(const ClipPaintPropertyNode*);
int switchToEffectNode(const EffectPaintPropertyNode& nextEffect);
int compositorIdForCurrentEffectNode() const {
- return m_effectStack.last().id;
+ return m_effectStack.back().id;
}
int compositorIdForScrollNode(const ScrollPaintPropertyNode*);
@@ -387,7 +387,7 @@ class PropertyTreeManager {
cc::ScrollTree& scrollTree() { return m_propertyTrees.scroll_tree; }
const EffectPaintPropertyNode* currentEffectNode() const {
- return m_effectStack.last().effect;
+ return m_effectStack.back().effect;
}
// Property trees which should be updated by the manager.

Powered by Google App Engine
This is Rietveld 408576698