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

Unified Diff: content/common/url_schemes.cc

Issue 649533003: C++11 declares a type safe null pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Presubmit errors 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 | « content/common/shareable_file_reference_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/url_schemes.cc
diff --git a/content/common/url_schemes.cc b/content/common/url_schemes.cc
index c65bb14562de2f2c0f182c6882bc9d9d808e4205..ac7a8b65298cb7021d4f895d4de939f2451806cf 100644
--- a/content/common/url_schemes.cc
+++ b/content/common/url_schemes.cc
@@ -52,7 +52,7 @@ void RegisterContentSchemes(bool lock_standard_schemes) {
// We rely on the above lock to protect this part from being invoked twice.
if (!additional_savable_schemes.empty()) {
const char* const* default_schemes = GetSavableSchemesInternal();
- const char* const* default_schemes_end = NULL;
+ const char* const* default_schemes_end = nullptr;
for (default_schemes_end = default_schemes; *default_schemes_end;
++default_schemes_end) {}
const int default_schemes_count = default_schemes_end - default_schemes;
« no previous file with comments | « content/common/shareable_file_reference_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698