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

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

Issue 1937723002: remove unused placeByteAsHex template (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0490ebad5a40d745f4d2beb0116676c64ba1ecb4..185f75d50a459b3f66587923dd31cea913c15df3 100644
--- a/third_party/WebKit/Source/wtf/HexNumber.h
+++ b/third_party/WebKit/Source/wtf/HexNumber.h
@@ -49,14 +49,6 @@ inline void appendByteAsHex(unsigned char byte, T& destination, HexConversionMod
}
template<typename T>
-inline void placeByteAsHex(unsigned char byte, T& destination, HexConversionMode mode = Uppercase)
-{
- const LChar* hexDigits = Internal::hexDigitsForMode(mode);
- *destination++ = hexDigits[byte >> 4];
- *destination++ = hexDigits[byte & 0xF];
-}
-
-template<typename T>
inline void appendUnsignedAsHex(unsigned number, T& destination, HexConversionMode mode = Uppercase)
{
const LChar* hexDigits = Internal::hexDigitsForMode(mode);
@@ -91,7 +83,6 @@ inline void appendUnsignedAsHexFixedSize(unsigned number, T& destination, unsign
using WTF::appendByteAsHex;
using WTF::appendUnsignedAsHex;
using WTF::appendUnsignedAsHexFixedSize;
-using WTF::placeByteAsHex;
using WTF::Lowercase;
#endif // HexNumber_h
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698