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

Unified Diff: sync/internal_api/public/sessions/commit_counters.cc

Issue 1539843002: Convert Pass()→std::move() in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up Created 5 years 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: sync/internal_api/public/sessions/commit_counters.cc
diff --git a/sync/internal_api/public/sessions/commit_counters.cc b/sync/internal_api/public/sessions/commit_counters.cc
index 6038ad29d9e62f3f7066765207ffe5f2a862a7f6..b44b54e55b04d5b420eb2317638af4e5bfe47720 100644
--- a/sync/internal_api/public/sessions/commit_counters.cc
+++ b/sync/internal_api/public/sessions/commit_counters.cc
@@ -23,7 +23,7 @@ scoped_ptr<base::DictionaryValue> CommitCounters::ToValue() const {
value->SetInteger("numCommitsSuccess", num_commits_success);
value->SetInteger("numCommitsConflict", num_commits_conflict);
value->SetInteger("numCommitsError", num_commits_error);
- return value.Pass();
+ return value;
}
std::string CommitCounters::ToString() const {
« no previous file with comments | « sync/internal_api/public/change_record_unittest.cc ('k') | sync/internal_api/public/sessions/status_counters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698