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

Unified Diff: extensions/common/manifest_handlers/file_handler_manifest_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/common/manifest_handlers/file_handler_manifest_unittest.cc
diff --git a/extensions/common/manifest_handlers/file_handler_manifest_unittest.cc b/extensions/common/manifest_handlers/file_handler_manifest_unittest.cc
index 5934dc094996affb63ba53c9bbb27acf7419ceeb..fcd1e7e59531907d650af1d3b8e3098320226f8f 100644
--- a/extensions/common/manifest_handlers/file_handler_manifest_unittest.cc
+++ b/extensions/common/manifest_handlers/file_handler_manifest_unittest.cc
@@ -40,7 +40,7 @@ TEST_F(FileHandlersManifestTest, ValidFileHandlers) {
ASSERT_TRUE(extension.get());
const FileHandlersInfo* handlers =
FileHandlers::GetFileHandlers(extension.get());
- ASSERT_TRUE(handlers != NULL);
+ ASSERT_TRUE(handlers != nullptr);
ASSERT_EQ(2U, handlers->size());
FileHandlerInfo handler = handlers->at(0);
@@ -66,7 +66,7 @@ TEST_F(FileHandlersManifestTest, NotPlatformApp) {
ASSERT_TRUE(extension.get());
const FileHandlersInfo* handlers =
FileHandlers::GetFileHandlers(extension.get());
- ASSERT_TRUE(handlers == NULL);
+ ASSERT_TRUE(handlers == nullptr);
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698