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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.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/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index 189f518f0ff1caa55818134ee1a4048685424bb9..5d90c0a9873b9913d2956c639a39044fbbeca3fb 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -238,7 +238,7 @@ void GraphicsLayer::addChildBelow(GraphicsLayer* childLayer,
void GraphicsLayer::removeAllChildren() {
while (!m_children.isEmpty()) {
- GraphicsLayer* curLayer = m_children.last();
+ GraphicsLayer* curLayer = m_children.back();
ASSERT(curLayer->parent());
curLayer->removeFromParent();
}

Powered by Google App Engine
This is Rietveld 408576698