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

Unified Diff: extensions/common/manifest_handlers/permissions_parser.cc

Issue 598173003: Run clang-modernize -use-nullptr over src/extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: extensions/common/manifest_handlers/permissions_parser.cc
diff --git a/extensions/common/manifest_handlers/permissions_parser.cc b/extensions/common/manifest_handlers/permissions_parser.cc
index 4e12112bb094cf70546de1b1b38c6d03f3359b48..4b344941b0534925ead4b0ba09ab648696983624 100644
--- a/extensions/common/manifest_handlers/permissions_parser.cc
+++ b/extensions/common/manifest_handlers/permissions_parser.cc
@@ -107,7 +107,7 @@ bool ParseHelper(Extension* extension,
if (!extension->manifest()->HasKey(key))
return true;
- const base::ListValue* permissions = NULL;
+ const base::ListValue* permissions = nullptr;
if (!extension->manifest()->GetList(key, &permissions)) {
*error = ErrorUtils::FormatErrorMessageUTF16(errors::kInvalidPermissions,
std::string());

Powered by Google App Engine
This is Rietveld 408576698