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

Unified Diff: components/sync/syncable/write_transaction.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/write_node.cc ('k') | components/sync/test/engine/fake_model_worker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/write_transaction.cc
diff --git a/components/sync/syncable/write_transaction.cc b/components/sync/syncable/write_transaction.cc
index fd01ce8496b97473332bee040234fd6b22dbc0a8..7eb0b5a8da3f2a284590b6c5149a7a2908e8d8d2 100644
--- a/components/sync/syncable/write_transaction.cc
+++ b/components/sync/syncable/write_transaction.cc
@@ -14,7 +14,7 @@ namespace syncer {
// WriteTransaction member definitions
WriteTransaction::WriteTransaction(const tracked_objects::Location& from_here,
UserShare* share)
- : BaseTransaction(share), transaction_(NULL) {
+ : BaseTransaction(share), transaction_(nullptr) {
transaction_ = new syncable::WriteTransaction(from_here, syncable::SYNCAPI,
share->directory.get());
}
@@ -22,7 +22,7 @@ WriteTransaction::WriteTransaction(const tracked_objects::Location& from_here,
WriteTransaction::WriteTransaction(const tracked_objects::Location& from_here,
UserShare* share,
int64_t* new_model_version)
- : BaseTransaction(share), transaction_(NULL) {
+ : BaseTransaction(share), transaction_(nullptr) {
transaction_ = new syncable::WriteTransaction(
from_here, share->directory.get(), new_model_version);
}
« no previous file with comments | « components/sync/syncable/write_node.cc ('k') | components/sync/test/engine/fake_model_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698