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

Unified Diff: extensions/browser/api/storage/storage_api_unittest.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/api/storage/storage_api_unittest.cc
diff --git a/extensions/browser/api/storage/storage_api_unittest.cc b/extensions/browser/api/storage/storage_api_unittest.cc
index c5e04639caf95a05c454ee5fb133c38a2468f2d7..98f25f90be3d0a58b904849a103c78afb2d2cfb5 100644
--- a/extensions/browser/api/storage/storage_api_unittest.cc
+++ b/extensions/browser/api/storage/storage_api_unittest.cc
@@ -67,7 +67,7 @@ class StorageApiUnittest : public ApiUnitTest {
base::StringPrintf("[\"local\", \"%s\"]", key.c_str()));
if (!result.get())
return testing::AssertionFailure() << "No result";
- base::DictionaryValue* dict = NULL;
+ base::DictionaryValue* dict = nullptr;
if (!result->GetAsDictionary(&dict))
return testing::AssertionFailure() << result << " was not a dictionary.";
if (!dict->GetString(key, value)) {

Powered by Google App Engine
This is Rietveld 408576698