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

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

Issue 2766723002: Migrate WTF::Vector::prepend() to ::push_front() (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 d9cf272a89a982e82d518e257c8f0796c3840769..7fe550242d0b46242694b0661feab1757c93abae 100644
--- a/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp
+++ b/third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp
@@ -68,7 +68,7 @@ void ICUScriptData::getScripts(UChar32 ch, Vector<UScriptCode>& dst) const {
if (primaryScript == USCRIPT_COMMON) {
if (count == 1) {
// Common with a preferred script. Keep common at head.
- dst.prepend(primaryScript);
+ dst.push_front(primaryScript);
return;
}

Powered by Google App Engine
This is Rietveld 408576698