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

Unified Diff: net/quic/crypto/channel_id_test.cc

Issue 612323013: QUIC - (no behavior change) s/NULL/nullptr/g in .../quic/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « net/quic/crypto/channel_id_openssl.cc ('k') | net/quic/crypto/crypto_framer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/channel_id_test.cc
diff --git a/net/quic/crypto/channel_id_test.cc b/net/quic/crypto/channel_id_test.cc
index 711060c9d7f3090f58aaaae1d898329a45b6cf1b..73927239f27274776ea484f1e0a6cede27a08ef5 100644
--- a/net/quic/crypto/channel_id_test.cc
+++ b/net/quic/crypto/channel_id_test.cc
@@ -196,7 +196,7 @@ TEST(ChannelIDTest, VerifyKnownAnswerTest) {
string r;
string s;
- for (size_t i = 0; test_vector[i].msg != NULL; i++) {
+ for (size_t i = 0; test_vector[i].msg != nullptr; i++) {
SCOPED_TRACE(i);
// Decode the test vector.
ASSERT_TRUE(DecodeHexString(test_vector[i].msg, &msg));
@@ -227,7 +227,7 @@ TEST(ChannelIDTest, SignAndVerify) {
const string hostname = "foo.example.com";
scoped_ptr<ChannelIDKey> channel_id_key;
QuicAsyncStatus status =
- source->GetChannelIDKey(hostname, &channel_id_key, NULL);
+ source->GetChannelIDKey(hostname, &channel_id_key, nullptr);
ASSERT_EQ(QUIC_SUCCESS, status);
string signature;
« no previous file with comments | « net/quic/crypto/channel_id_openssl.cc ('k') | net/quic/crypto/crypto_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698