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

Unified Diff: extensions/browser/info_map_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/info_map_unittest.cc
diff --git a/extensions/browser/info_map_unittest.cc b/extensions/browser/info_map_unittest.cc
index 5dfe7ded96c5c710c9186f4b47bf74b1699f20ac..e1ccc8c9caa7921fb73d420398f14ebd0ff0c997 100644
--- a/extensions/browser/info_map_unittest.cc
+++ b/extensions/browser/info_map_unittest.cc
@@ -69,7 +69,7 @@ TEST_F(InfoMapTest, RefCounting) {
// Release extension1, and the info map should have the only ref.
const Extension* weak_extension1 = extension1.get();
- extension1 = NULL;
+ extension1 = nullptr;
EXPECT_TRUE(weak_extension1->HasOneRef());
// Remove extension2, and the extension2 object should have the only ref.
@@ -78,7 +78,7 @@ TEST_F(InfoMapTest, RefCounting) {
EXPECT_TRUE(extension2->HasOneRef());
// Delete the info map, and the extension3 object should have the only ref.
- info_map = NULL;
+ info_map = nullptr;
EXPECT_TRUE(extension3->HasOneRef());
}

Powered by Google App Engine
This is Rietveld 408576698