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

Unified Diff: components/sync/syncable/base_transaction.h

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
Index: components/sync/syncable/base_transaction.h
diff --git a/components/sync/syncable/base_transaction.h b/components/sync/syncable/base_transaction.h
index 2aafe45d2e9df0dd8de9b540ad1a3d06c6b85afd..a85787cb703636bac8f044d242fde52173f61659 100644
--- a/components/sync/syncable/base_transaction.h
+++ b/components/sync/syncable/base_transaction.h
@@ -36,7 +36,7 @@ class BaseTransaction {
syncable::Directory* GetDirectory() const {
if (!user_share_) {
- return NULL;
+ return nullptr;
} else {
return user_share_->directory.get();
}
@@ -48,7 +48,7 @@ class BaseTransaction {
explicit BaseTransaction(UserShare* share);
virtual ~BaseTransaction();
- BaseTransaction() : user_share_(NULL) {}
+ BaseTransaction() : user_share_(nullptr) {}
private:
UserShare* user_share_;
« no previous file with comments | « components/sync/protocol/proto_value_conversions_unittest.cc ('k') | components/sync/syncable/change_record_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698