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

Unified Diff: third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.h

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/MultiColumnFragmentainerGroup.h
diff --git a/third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.h b/third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.h
index 1f9199f338bf9e20bc2ccd28c8a04ed136acdf81..6fe45b6ef356a33b254c9a722c503a2fa23a46fb 100644
--- a/third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.h
+++ b/third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.h
@@ -161,8 +161,8 @@ class CORE_EXPORT MultiColumnFragmentainerGroupList {
const MultiColumnFragmentainerGroup& first() const {
return m_groups.first();
}
- MultiColumnFragmentainerGroup& last() { return m_groups.last(); }
- const MultiColumnFragmentainerGroup& last() const { return m_groups.last(); }
+ MultiColumnFragmentainerGroup& last() { return m_groups.back(); }
+ const MultiColumnFragmentainerGroup& last() const { return m_groups.back(); }
typedef Vector<MultiColumnFragmentainerGroup, 1>::iterator iterator;
typedef Vector<MultiColumnFragmentainerGroup, 1>::const_iterator
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutInline.cpp ('k') | third_party/WebKit/Source/core/layout/TextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698