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

Unified Diff: extensions/common/features/simple_feature.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/features/simple_feature.cc
diff --git a/extensions/common/features/simple_feature.cc b/extensions/common/features/simple_feature.cc
index e623bcf47d7661c48a2080f85d590f3b9cfc0a48..f307118665fe5690e0e5402426dd63ffcec0dd85 100644
--- a/extensions/common/features/simple_feature.cc
+++ b/extensions/common/features/simple_feature.cc
@@ -80,7 +80,7 @@ base::LazyInstance<Mappings> g_mappings = LAZY_INSTANCE_INITIALIZER;
void ParseSet(const base::DictionaryValue* value,
const std::string& property,
std::set<std::string>* set) {
- const base::ListValue* list_value = NULL;
+ const base::ListValue* list_value = nullptr;
if (!value->GetList(property, &list_value))
return;
@@ -155,7 +155,7 @@ void ParseEnumSet(const base::DictionaryValue* value,
void ParseURLPatterns(const base::DictionaryValue* value,
const std::string& key,
URLPatternSet* set) {
- const base::ListValue* matches = NULL;
+ const base::ListValue* matches = nullptr;
if (value->GetList(key, &matches)) {
set->ClearPatterns();
for (size_t i = 0; i < matches->GetSize(); ++i) {

Powered by Google App Engine
This is Rietveld 408576698