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

Unified Diff: components/sync/syncable/read_node.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/parent_child_index.h ('k') | components/sync/syncable/read_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/read_node.cc
diff --git a/components/sync/syncable/read_node.cc b/components/sync/syncable/read_node.cc
index 2cc1c867a00d2e5c95514688b51a5552e96f8e0d..436ed7ee3199b50d3fe41afc40a274cca8278eb7 100644
--- a/components/sync/syncable/read_node.cc
+++ b/components/sync/syncable/read_node.cc
@@ -15,13 +15,13 @@ namespace syncer {
//////////////////////////////////////////////////////////////////////////
// ReadNode member definitions
ReadNode::ReadNode(const BaseTransaction* transaction)
- : entry_(NULL), transaction_(transaction) {
+ : entry_(nullptr), transaction_(transaction) {
DCHECK(transaction);
}
ReadNode::ReadNode() {
- entry_ = NULL;
- transaction_ = NULL;
+ entry_ = nullptr;
+ transaction_ = nullptr;
}
ReadNode::~ReadNode() {
« no previous file with comments | « components/sync/syncable/parent_child_index.h ('k') | components/sync/syncable/read_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698