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

Unified Diff: third_party/WebKit/Source/wtf/HexNumber.h

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/wtf/HexNumber.h
diff --git a/third_party/WebKit/Source/wtf/HexNumber.h b/third_party/WebKit/Source/wtf/HexNumber.h
index fb380d4144826399a64663cde59852728d266a90..71f6612f54831acd2d65a712988b3529d798910f 100644
--- a/third_party/WebKit/Source/wtf/HexNumber.h
+++ b/third_party/WebKit/Source/wtf/HexNumber.h
@@ -69,7 +69,7 @@ class HexNumber final {
const LChar* hexDigits = hexDigitsForMode(mode);
Vector<LChar, 8> result;
do {
- result.prepend(hexDigits[number % 16]);
+ result.push_front(hexDigits[number % 16]);
number >>= 4;
} while (number > 0);
@@ -89,7 +89,7 @@ class HexNumber final {
const LChar* hexDigits = hexDigitsForMode(mode);
Vector<LChar, 8> result;
do {
- result.prepend(hexDigits[number % 16]);
+ result.push_front(hexDigits[number % 16]);
number >>= 4;
} while (result.size() < desiredDigits);
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp ('k') | third_party/WebKit/Source/wtf/Vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698