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

Unified Diff: components/sync/syncable/entry_kernel.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/entry_kernel.h ('k') | components/sync/syncable/entry_kernel_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/entry_kernel.cc
diff --git a/components/sync/syncable/entry_kernel.cc b/components/sync/syncable/entry_kernel.cc
index 1e74ef7e8dd4c993d890b0ec39e925c91afdac6a..2aaf8d1dcd9126f672aab637395ce27e64d3aea5 100644
--- a/components/sync/syncable/entry_kernel.cc
+++ b/components/sync/syncable/entry_kernel.cc
@@ -224,8 +224,8 @@ std::unique_ptr<base::ListValue> EntryKernelMutationMapToValue(
std::unique_ptr<base::DictionaryValue> EntryKernelMutationToValue(
const EntryKernelMutation& mutation) {
std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
- dict->Set("original", mutation.original.ToValue(NULL));
- dict->Set("mutated", mutation.mutated.ToValue(NULL));
+ dict->Set("original", mutation.original.ToValue(nullptr));
+ dict->Set("mutated", mutation.mutated.ToValue(nullptr));
return dict;
}
« no previous file with comments | « components/sync/syncable/entry_kernel.h ('k') | components/sync/syncable/entry_kernel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698