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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutInline.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/LayoutInline.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
index fb209ce555db2ecd8be18a8b9f24630a1a6b82a4..2c3ac28baf3f2822b85cba70600adeeaabf7049e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
@@ -427,7 +427,7 @@ void LayoutInline::splitInlines(LayoutBlockFlow* fromBlock,
}
// Create a new clone of the top-most inline in |inlinesToClone|.
- LayoutInline* topMostInlineToClone = inlinesToClone.last();
+ LayoutInline* topMostInlineToClone = inlinesToClone.back();
LayoutInline* cloneInline = topMostInlineToClone->clone();
// Now we are at the block level. We need to put the clone into the |toBlock|.

Powered by Google App Engine
This is Rietveld 408576698