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

Unified Diff: extensions/common/event_matcher.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/event_matcher.cc
diff --git a/extensions/common/event_matcher.cc b/extensions/common/event_matcher.cc
index 8ae022a00e8845bcb749813c3e973bf847932649..6bc5861d2c8247b417b90289f99825661f2b8a0b 100644
--- a/extensions/common/event_matcher.cc
+++ b/extensions/common/event_matcher.cc
@@ -35,14 +35,14 @@ bool EventMatcher::MatchNonURLCriteria(
}
int EventMatcher::GetURLFilterCount() const {
- base::ListValue* url_filters = NULL;
+ base::ListValue* url_filters = nullptr;
if (filter_->GetList(kUrlFiltersKey, &url_filters))
return url_filters->GetSize();
return 0;
}
bool EventMatcher::GetURLFilter(int i, base::DictionaryValue** url_filter_out) {
- base::ListValue* url_filters = NULL;
+ base::ListValue* url_filters = nullptr;
if (filter_->GetList(kUrlFiltersKey, &url_filters)) {
return url_filters->GetDictionary(i, url_filter_out);
}

Powered by Google App Engine
This is Rietveld 408576698