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

Unified Diff: third_party/WebKit/Source/core/layout/BidiRunForLine.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/BidiRunForLine.cpp
diff --git a/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp b/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp
index 941e4a111de48f73cd55051537a90369b6323f56..a497cf9c3340e9812ee7244c4fe357bc6553e0ff 100644
--- a/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp
+++ b/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp
@@ -118,7 +118,7 @@ void constructBidiRunsForLine(InlineBidiResolver& topResolver,
while (!topResolver.isolatedRuns().isEmpty()) {
// It does not matter which order we resolve the runs as long as we
// resolve them all.
- BidiIsolatedRun isolatedRun = topResolver.isolatedRuns().last();
+ BidiIsolatedRun isolatedRun = topResolver.isolatedRuns().back();
topResolver.isolatedRuns().pop_back();
currentRoot = isolatedRun.root;
@@ -178,7 +178,7 @@ void constructBidiRunsForLine(InlineBidiResolver& topResolver,
// If we encountered any nested isolate runs, save them for later
// processing.
while (!isolatedResolver.isolatedRuns().isEmpty()) {
- BidiIsolatedRun runWithContext = isolatedResolver.isolatedRuns().last();
+ BidiIsolatedRun runWithContext = isolatedResolver.isolatedRuns().back();
isolatedResolver.isolatedRuns().pop_back();
topResolver.setMidpointStateForIsolatedRun(
runWithContext.runToReplace,

Powered by Google App Engine
This is Rietveld 408576698