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

Unified Diff: components/sync/engine_impl/commit.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
Index: components/sync/engine_impl/commit.cc
diff --git a/components/sync/engine_impl/commit.cc b/components/sync/engine_impl/commit.cc
index abb8fc1b1c063969d0a9e732e098024b0bd4dc78..80311bb380369c3c51e03cb5f8d6161f61b3eb88 100644
--- a/components/sync/engine_impl/commit.cc
+++ b/components/sync/engine_impl/commit.cc
@@ -48,7 +48,7 @@ Commit* Commit::Init(ModelTypeSet requested_types,
// Give up if no one had anything to commit.
if (contributions.empty())
- return NULL;
+ return nullptr;
sync_pb::ClientToServerMessage message;
message.set_message_contents(sync_pb::ClientToServerMessage::COMMIT);
@@ -115,7 +115,7 @@ SyncerError Commit::PostAndProcessResponse(
TRACE_EVENT_BEGIN0("sync", "PostCommit");
const SyncerError post_result = SyncerProtoUtil::PostClientToServerMessage(
- &message_, &response_, cycle, NULL);
+ &message_, &response_, cycle, nullptr);
TRACE_EVENT_END0("sync", "PostCommit");
// TODO(rlarocque): Use result that includes errors captured later?

Powered by Google App Engine
This is Rietveld 408576698