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

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: Rebase and fixing conflict. 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/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);

Powered by Google App Engine
This is Rietveld 408576698