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

Unified Diff: third_party/WebKit/Source/core/layout/TextAutosizer.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/core/layout/TextAutosizer.cpp
diff --git a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
index 08d8caf9fe8391cae0ead1767cfa10a258f6ff2c..ddd7f298880d43e9be1a6c5e07b7d6cd6919436a 100644
--- a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
+++ b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
@@ -1130,7 +1130,7 @@ bool TextAutosizer::isWiderOrNarrowerDescendant(Cluster* cluster) {
TextAutosizer::Cluster* TextAutosizer::currentCluster() const {
SECURITY_DCHECK(!m_clusterStack.isEmpty());
- return m_clusterStack.last().get();
+ return m_clusterStack.back().get();
}
TextAutosizer::Cluster::Cluster(const LayoutBlock* root,

Powered by Google App Engine
This is Rietveld 408576698