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

Unified Diff: extensions/browser/runtime_data_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/runtime_data_unittest.cc
diff --git a/extensions/browser/runtime_data_unittest.cc b/extensions/browser/runtime_data_unittest.cc
index 6253f8008a5139fcff5176b84b4dd14cc64404eb..b746481cf3695a4225e4793aa3c0d011249c6cee 100644
--- a/extensions/browser/runtime_data_unittest.cc
+++ b/extensions/browser/runtime_data_unittest.cc
@@ -31,7 +31,7 @@ scoped_refptr<Extension> CreateExtensionWithBackgroundPage() {
class RuntimeDataTest : public testing::Test {
public:
- RuntimeDataTest() : registry_(NULL), runtime_data_(&registry_) {}
+ RuntimeDataTest() : registry_(nullptr), runtime_data_(&registry_) {}
virtual ~RuntimeDataTest() {}
protected:
@@ -92,7 +92,7 @@ TEST_F(RuntimeDataTest, OnExtensionUnloaded) {
ASSERT_TRUE(runtime_data_.HasExtensionForTesting(extension.get()));
runtime_data_.OnExtensionUnloaded(
- NULL, extension.get(), UnloadedExtensionInfo::REASON_DISABLE);
+ nullptr, extension.get(), UnloadedExtensionInfo::REASON_DISABLE);
EXPECT_FALSE(runtime_data_.HasExtensionForTesting(extension.get()));
}

Powered by Google App Engine
This is Rietveld 408576698