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/syncable/change_record_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/syncable/base_transaction.h ('k') | components/sync/syncable/directory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/change_record_unittest.cc
diff --git a/components/sync/syncable/change_record_unittest.cc b/components/sync/syncable/change_record_unittest.cc
index 7a2a711ae467a1d0f8397d92fc848d4396dc628d..cc186ea8a551d1d5daffc7973c9dce92ad34ced0 100644
--- a/components/sync/syncable/change_record_unittest.cc
+++ b/components/sync/syncable/change_record_unittest.cc
@@ -57,8 +57,8 @@ void CheckChangeRecordValue(const ChangeRecord& record,
if (record.extra.get()) {
expected_extra_value = record.extra->ToValue();
}
- const base::Value* extra_value = NULL;
- EXPECT_EQ(record.extra.get() != NULL, value.Get("extra", &extra_value));
+ const base::Value* extra_value = nullptr;
+ EXPECT_EQ(record.extra.get() != nullptr, value.Get("extra", &extra_value));
EXPECT_TRUE(base::Value::Equals(extra_value, expected_extra_value.get()));
std::unique_ptr<base::DictionaryValue> expected_specifics_value(
« no previous file with comments | « components/sync/syncable/base_transaction.h ('k') | components/sync/syncable/directory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698