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

Unified Diff: extensions/common/manifest_handlers/icons_handler.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/icons_handler.cc
diff --git a/extensions/common/manifest_handlers/icons_handler.cc b/extensions/common/manifest_handlers/icons_handler.cc
index c8e01d4cb5198c160a754cc190f980058c87baca..f8f0566061d554c370f7e5328cfae7962100b36d 100644
--- a/extensions/common/manifest_handlers/icons_handler.cc
+++ b/extensions/common/manifest_handlers/icons_handler.cc
@@ -57,7 +57,7 @@ IconsHandler::~IconsHandler() {
bool IconsHandler::Parse(Extension* extension, base::string16* error) {
scoped_ptr<IconsInfo> icons_info(new IconsInfo);
- const base::DictionaryValue* icons_dict = NULL;
+ const base::DictionaryValue* icons_dict = nullptr;
if (!extension->manifest()->GetDictionary(keys::kIcons, &icons_dict)) {
*error = base::ASCIIToUTF16(manifest_errors::kInvalidIcons);
return false;

Powered by Google App Engine
This is Rietveld 408576698