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

Unified Diff: components/sync/syncable/nigori_util.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/mutable_entry.cc ('k') | components/sync/syncable/parent_child_index.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/nigori_util.cc
diff --git a/components/sync/syncable/nigori_util.cc b/components/sync/syncable/nigori_util.cc
index 7acaba800abcda76c6acfac162dc83febf47a4c5..80538a663a0f53bd775cf02978874340c4ebc66b 100644
--- a/components/sync/syncable/nigori_util.cc
+++ b/components/sync/syncable/nigori_util.cc
@@ -173,7 +173,7 @@ bool UpdateEntryWithEncryption(BaseTransaction* const trans,
} else {
// Encrypt new_specifics into generated_specifics.
if (VLOG_IS_ON(2)) {
- std::unique_ptr<base::DictionaryValue> value(entry->ToValue(NULL));
+ std::unique_ptr<base::DictionaryValue> value(entry->ToValue(nullptr));
std::string info;
base::JSONWriter::WriteWithOptions(
*value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &info);
« no previous file with comments | « components/sync/syncable/mutable_entry.cc ('k') | components/sync/syncable/parent_child_index.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698