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

Unified Diff: third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp

Issue 2741023002: Migrate WTF::Deque::removeLast() to ::pop_back() (Closed)
Patch Set: Created 3 years, 9 months 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/fonts/ScriptRunIterator.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp b/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp
index 8390f58b9562cab9b72e64e95e2f0706cf91666e..0664966c9f64939c24d3a48ef26f305c81dbefaf 100644
--- a/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp
+++ b/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp
@@ -200,7 +200,7 @@ void ScriptRunIterator::closeBracket(UChar32 ch) {
int numPopped = std::distance(m_brackets.rbegin(), it);
// TODO: No resize operation in WTF::Deque?
for (int i = 0; i < numPopped; ++i)
- m_brackets.removeLast();
+ m_brackets.pop_back();
m_bracketsFixupDepth =
std::max(static_cast<size_t>(0), m_bracketsFixupDepth - numPopped);
return;
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp ('k') | third_party/WebKit/Source/wtf/Deque.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698