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

Unified Diff: chrome/browser/sync_file_system/local/local_file_change_tracker.cc

Issue 610223002: [SyncFS] Use nullptr instead of NULL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: chrome/browser/sync_file_system/local/local_file_change_tracker.cc
diff --git a/chrome/browser/sync_file_system/local/local_file_change_tracker.cc b/chrome/browser/sync_file_system/local/local_file_change_tracker.cc
index bee7f4b1a0bcdea5197ff3d4e9cf9597d3207746..694b05a97b33696fde67118a99a3a3fa7f354c2a 100644
--- a/chrome/browser/sync_file_system/local/local_file_change_tracker.cc
+++ b/chrome/browser/sync_file_system/local/local_file_change_tracker.cc
@@ -415,12 +415,14 @@ void LocalFileChangeTracker::RecordChange(
int change_seq = current_change_seq_number_++;
if (ContainsKey(demoted_changes_, url)) {
RecordChangeToChangeMaps(url, change, change_seq,
- &demoted_changes_, NULL);
+ &demoted_changes_, nullptr);
} else {
RecordChangeToChangeMaps(url, change, change_seq, &changes_, &change_seqs_);
}
- if (ContainsKey(mirror_changes_, url))
- RecordChangeToChangeMaps(url, change, change_seq, &mirror_changes_, NULL);
+ if (ContainsKey(mirror_changes_, url)) {
+ RecordChangeToChangeMaps(url, change, change_seq, &mirror_changes_,
+ nullptr);
+ }
UpdateNumChanges();
}

Powered by Google App Engine
This is Rietveld 408576698