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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.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/modules/bluetooth/BluetoothUUID.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.cpp
index 3e284b403c61958a9ae7271c0743b0d88be16aef..47c782e472b119e9f3c3c46628d308bb47e80dec 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.cpp
@@ -366,8 +366,9 @@ String BluetoothUUID::getDescriptor(StringOrUnsignedLong name,
String BluetoothUUID::canonicalUUID(unsigned alias) {
StringBuilder builder;
builder.reserveCapacity(36 /* 36 chars or 128 bits, length of a UUID */);
- appendUnsignedAsHexFixedSize(
- alias, builder, 8 /* 8 chars or 32 bits, prefix length */, Lowercase);
+ HexNumber::appendUnsignedAsHexFixedSize(
+ alias, builder, 8 /* 8 chars or 32 bits, prefix length */,
+ HexNumber::Lowercase);
builder.append("-0000-1000-8000-00805f9b34fb");
return builder.toString();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp ('k') | third_party/WebKit/Source/platform/graphics/Color.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698