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

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

Issue 1936883002: remove unused placeByteAsHexCompressIfPossible template (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 d9e65144ff1b8c3a279f86c11312a13fb47100b4..0490ebad5a40d745f4d2beb0116676c64ba1ecb4 100644
--- a/third_party/WebKit/Source/wtf/HexNumber.h
+++ b/third_party/WebKit/Source/wtf/HexNumber.h
@@ -49,15 +49,6 @@ inline void appendByteAsHex(unsigned char byte, T& destination, HexConversionMod
}
template<typename T>
-inline void placeByteAsHexCompressIfPossible(unsigned char byte, T& destination, unsigned& index, HexConversionMode mode = Uppercase)
-{
- const LChar* hexDigits = Internal::hexDigitsForMode(mode);
- if (byte >= 0x10)
- destination[index++] = hexDigits[byte >> 4];
- destination[index++] = hexDigits[byte & 0xF];
-}
-
-template<typename T>
inline void placeByteAsHex(unsigned char byte, T& destination, HexConversionMode mode = Uppercase)
{
const LChar* hexDigits = Internal::hexDigitsForMode(mode);
@@ -101,7 +92,6 @@ using WTF::appendByteAsHex;
using WTF::appendUnsignedAsHex;
using WTF::appendUnsignedAsHexFixedSize;
using WTF::placeByteAsHex;
-using WTF::placeByteAsHexCompressIfPossible;
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