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

Unified Diff: sync/sessions/directory_type_debug_info_emitter.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
« no previous file with comments | « sync/internal_api/sync_rollback_manager_base.cc ('k') | sync/sessions/model_type_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/directory_type_debug_info_emitter.cc
diff --git a/sync/sessions/directory_type_debug_info_emitter.cc b/sync/sessions/directory_type_debug_info_emitter.cc
index aadf2dc48c40c017342e990e1d1661f899a203e7..88049589c11f79ea73c30d45dc6d1a9b2ca3b5d7 100644
--- a/sync/sessions/directory_type_debug_info_emitter.cc
+++ b/sync/sessions/directory_type_debug_info_emitter.cc
@@ -36,7 +36,7 @@ scoped_ptr<base::ListValue> DirectoryTypeDebugInfoEmitter::GetAllNodes() {
syncable::ReadTransaction trans(FROM_HERE, directory_);
scoped_ptr<base::ListValue> nodes(
directory_->GetNodeDetailsForType(&trans, type_));
- return nodes.Pass();
+ return nodes;
}
const CommitCounters& DirectoryTypeDebugInfoEmitter::GetCommitCounters() const {
« no previous file with comments | « sync/internal_api/sync_rollback_manager_base.cc ('k') | sync/sessions/model_type_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698