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

Unified Diff: third_party/WebKit/Source/core/layout/ColumnBalancer.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/ColumnBalancer.cpp
diff --git a/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp b/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp
index de1f38215a484fbdc9a8f7bcdb0344cedd8a8baf..33b3b396d7ae66a7b86c08ef6fb448d2987a9b2e 100644
--- a/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp
+++ b/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp
@@ -279,7 +279,7 @@ void InitialColumnHeightFinder::addContentRun(
LayoutUnit endOffsetInFlowThread) {
endOffsetInFlowThread -= spaceUsedByStrutsAt(endOffsetInFlowThread);
if (!m_contentRuns.isEmpty() &&
- endOffsetInFlowThread <= m_contentRuns.last().breakOffset())
+ endOffsetInFlowThread <= m_contentRuns.back().breakOffset())
return;
// Append another item as long as we haven't exceeded used column count. What
// ends up in the overflow area shouldn't affect column balancing. However, if

Powered by Google App Engine
This is Rietveld 408576698