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

Unified Diff: net/quic/core/quic_utils.h

Issue 2512123004: Remove QuicUtils::AsChars by casting directly. No behavior change. (Closed)
Patch Set: Created 4 years, 1 month 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 | « net/quic/core/quic_crypto_client_stream_test.cc ('k') | net/tools/quic/quic_server_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_utils.h
diff --git a/net/quic/core/quic_utils.h b/net/quic/core/quic_utils.h
index a68a0608fb0dc3e8e47a27716a8c1de89ec5ccfb..9ba914f34f353e48ea1bec6b0a6b93d1ae78393c 100644
--- a/net/quic/core/quic_utils.h
+++ b/net/quic/core/quic_utils.h
@@ -71,10 +71,6 @@ class NET_EXPORT_PRIVATE QuicUtils {
// Returns PeerAddressChangeType as a std::string.
static std::string PeerAddressChangeTypeToString(PeerAddressChangeType type);
- static char* AsChars(unsigned char* data) {
- return reinterpret_cast<char*>(data);
- }
-
// Deletes all the sub-frames contained in |frames|.
static void DeleteFrames(QuicFrames* frames);
« no previous file with comments | « net/quic/core/quic_crypto_client_stream_test.cc ('k') | net/tools/quic/quic_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698