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

Unified Diff: extensions/browser/content_verifier.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/browser/content_verifier.cc
diff --git a/extensions/browser/content_verifier.cc b/extensions/browser/content_verifier.cc
index 52321c9267ac9e6cdc3e366a47584026e7b58d66..dba0b09bfe56ca16f505ba631e4903ca5ac17985 100644
--- a/extensions/browser/content_verifier.cc
+++ b/extensions/browser/content_verifier.cc
@@ -59,12 +59,12 @@ ContentVerifyJob* ContentVerifier::CreateJobFor(
const ContentVerifierIOData::ExtensionData* data =
io_data_->GetData(extension_id);
if (!data)
- return NULL;
+ return nullptr;
std::set<base::FilePath> paths;
paths.insert(relative_path);
if (!ShouldVerifyAnyPaths(extension_id, extension_root, paths))
- return NULL;
+ return nullptr;
// TODO(asargent) - we can probably get some good performance wins by having
// a cache of ContentHashReader's that we hold onto past the end of each job.

Powered by Google App Engine
This is Rietveld 408576698