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

Unified Diff: third_party/WebKit/Source/platform/graphics/Color.cpp

Issue 2622363005: Migrate WTF::Vector::append() to ::push_back() in WTF::HexNumber (Closed)
Patch Set: remove template, rely on function overload resolution for Vector-specific methods Created 3 years, 11 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/graphics/Color.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Color.cpp b/third_party/WebKit/Source/platform/graphics/Color.cpp
index 3b406bf1a1addf7976e8fa71e0d6b7eb4ab519bc..c82a1e0ba9ea2a849adeddba35640a10ace7d52b 100644
--- a/third_party/WebKit/Source/platform/graphics/Color.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Color.cpp
@@ -231,9 +231,9 @@ String Color::serialized() const {
StringBuilder builder;
builder.reserveCapacity(7);
builder.append('#');
- appendByteAsHex(red(), builder, Lowercase);
- appendByteAsHex(green(), builder, Lowercase);
- appendByteAsHex(blue(), builder, Lowercase);
+ HexNumber::appendByteAsHex(red(), builder, HexNumber::Lowercase);
+ HexNumber::appendByteAsHex(green(), builder, HexNumber::Lowercase);
+ HexNumber::appendByteAsHex(blue(), builder, HexNumber::Lowercase);
return builder.toString();
}

Powered by Google App Engine
This is Rietveld 408576698