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

Unified Diff: components/sync/syncable/write_node.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
« no previous file with comments | « components/sync/syncable/test_user_share.h ('k') | components/sync/syncable/write_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/write_node.h
diff --git a/components/sync/syncable/write_node.h b/components/sync/syncable/write_node.h
index 6251efa19e34af80cfb9941279e39501dc6a2fab..53390bcdda43bb40476b832de7a161f6be8d7429 100644
--- a/components/sync/syncable/write_node.h
+++ b/components/sync/syncable/write_node.h
@@ -65,8 +65,8 @@ class WriteNode : public BaseNode {
const std::string& tag) override;
// Create a new bookmark node with the specified parent and predecessor. Use
- // a NULL |predecessor| to indicate that this is to be the first child.
- // |predecessor| must be a child of |new_parent| or NULL. Returns false on
+ // a null |predecessor| to indicate that this is to be the first child.
+ // |predecessor| must be a child of |new_parent| or null. Returns false on
// failure.
bool InitBookmarkByCreation(const BaseNode& parent,
const BaseNode* predecessor);
@@ -110,8 +110,8 @@ class WriteNode : public BaseNode {
void Drop();
// Set a new parent and position. Position is specified by |predecessor|; if
- // it is NULL, the node is moved to the first position. |predecessor| must
- // be a child of |new_parent| or NULL. Returns false on failure..
+ // it is null, the node is moved to the first position. |predecessor| must
+ // be a child of |new_parent| or null. Returns false on failure..
bool SetPosition(const BaseNode& new_parent, const BaseNode* predecessor);
// Set the bookmark specifics (url and favicon).
« no previous file with comments | « components/sync/syncable/test_user_share.h ('k') | components/sync/syncable/write_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698