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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.cc

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/ng/ng_layout_coordinator.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.cc b/third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.cc
index f07300400cce3d54c622f568f6a872b7dc709f73..dc86d79c6bd6f924454eac8a5b5fd52ada3f49bd 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.cc
@@ -24,7 +24,7 @@ bool NGLayoutCoordinator::Tick(NGPhysicalFragmentBase** fragment) {
// TODO(layout-dev): store box from last tick and pass it into Layout here.
switch (
- layout_algorithms_.last()->Layout(nullptr, fragment, &child_algorithm)) {
+ layout_algorithms_.back()->Layout(nullptr, fragment, &child_algorithm)) {
case NotFinished:
return false;
case NewFragment:

Powered by Google App Engine
This is Rietveld 408576698