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

Unified Diff: components/sync/device_info/device_info_sync_service.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
Index: components/sync/device_info/device_info_sync_service.cc
diff --git a/components/sync/device_info/device_info_sync_service.cc b/components/sync/device_info/device_info_sync_service.cc
index c9fe8c4c847843d5ef6e5d014324e70b4df0e2bd..80b2f81e5a5e93db4b24e41d97cafce9e6ece028 100644
--- a/components/sync/device_info/device_info_sync_service.cc
+++ b/components/sync/device_info/device_info_sync_service.cc
@@ -46,7 +46,7 @@ SyncMergeResult DeviceInfoSyncService::MergeDataAndStartSyncing(
// and local device info must be available.
const DeviceInfo* local_device_info =
local_device_info_provider_->GetLocalDeviceInfo();
- DCHECK(local_device_info != NULL);
+ DCHECK(local_device_info != nullptr);
// Indicates whether a local device has been added or updated.
// |change_type| defaults to ADD and might be changed to
« no previous file with comments | « components/sync/device_info/device_info_data_type_controller_unittest.cc ('k') | components/sync/driver/about_sync_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698