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

Unified Diff: net/quic/quic_in_memory_cache.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/quic_in_memory_cache.h ('k') | net/quic/quic_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_in_memory_cache.cc
diff --git a/net/quic/quic_in_memory_cache.cc b/net/quic/quic_in_memory_cache.cc
index 58c6e90f89cd6c1a77f6feb6bc299b9ed8a842ba..31e346f6b5d93d850f13d8353373394df1e221f6 100644
--- a/net/quic/quic_in_memory_cache.cc
+++ b/net/quic/quic_in_memory_cache.cc
@@ -38,7 +38,7 @@ const QuicInMemoryCache::Response* QuicInMemoryCache::GetResponse(
const GURL& url) const {
ResponseMap::const_iterator it = responses_.find(GetKey(url));
if (it == responses_.end()) {
- return NULL;
+ return nullptr;
}
return it->second;
}
@@ -83,7 +83,7 @@ void QuicInMemoryCache::AddSpecialResponse(StringPiece path,
SpecialResponseType response_type) {
GURL url("http://" + path.as_string());
- AddResponse(url, NULL, string());
+ AddResponse(url, nullptr, string());
responses_[GetKey(url)]->response_type_ = response_type;
}
« no previous file with comments | « net/quic/quic_in_memory_cache.h ('k') | net/quic/quic_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698