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

Unified Diff: third_party/WebKit/Source/platform/text/BidiContext.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/platform/text/BidiContext.cpp
diff --git a/third_party/WebKit/Source/platform/text/BidiContext.cpp b/third_party/WebKit/Source/platform/text/BidiContext.cpp
index 3a9c3303b5ab6a4409745e65578c2a606076c87a..28809b9edbf759829bfd52a5534a58f0c1b5213d 100644
--- a/third_party/WebKit/Source/platform/text/BidiContext.cpp
+++ b/third_party/WebKit/Source/platform/text/BidiContext.cpp
@@ -110,7 +110,7 @@ BidiContext::copyStackRemovingUnicodeEmbeddingContexts() {
ASSERT(contexts.size());
RefPtr<BidiContext> topContext =
- copyContextAndRebaselineLevel(contexts.last(), 0);
+ copyContextAndRebaselineLevel(contexts.back(), 0);
for (int i = contexts.size() - 1; i > 0; --i)
topContext =
copyContextAndRebaselineLevel(contexts[i - 1], topContext.get());

Powered by Google App Engine
This is Rietveld 408576698