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

Unified Diff: components/sync/device_info/device_info_data_type_controller_unittest.cc

Issue 2427803002: [Sync] Replacing NULL with nullptr in code and null in comments for components/sync/ (Closed)
Patch Set: Fixing start of sentence capitlization. Created 4 years, 2 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
« no previous file with comments | « components/sync/base/weak_handle.h ('k') | components/sync/device_info/device_info_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/device_info/device_info_data_type_controller_unittest.cc
diff --git a/components/sync/device_info/device_info_data_type_controller_unittest.cc b/components/sync/device_info/device_info_data_type_controller_unittest.cc
index 6d04d5f7c539a3a688a8eac3ce9156f5f3986b2e..27c572f20ec7102e44e9bb3685135b2e7da8c1f3 100644
--- a/components/sync/device_info/device_info_data_type_controller_unittest.cc
+++ b/components/sync/device_info/device_info_data_type_controller_unittest.cc
@@ -42,7 +42,7 @@ class DeviceInfoDataTypeControllerTest : public testing::Test {
}
void TearDown() override {
- controller_ = NULL;
+ controller_ = nullptr;
local_device_.reset();
}
@@ -118,7 +118,7 @@ TEST_F(DeviceInfoDataTypeControllerTest, DestructionWithDelayedStart) {
// Destroy |local_device_| and |controller_| out of order
// to verify that the controller doesn't crash in the destructor.
local_device_.reset();
- controller_ = NULL;
+ controller_ = nullptr;
}
} // namespace
« no previous file with comments | « components/sync/base/weak_handle.h ('k') | components/sync/device_info/device_info_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698