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

Unified Diff: sync/internal_api/events/protocol_event.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/events/protocol_event.cc
diff --git a/sync/internal_api/events/protocol_event.cc b/sync/internal_api/events/protocol_event.cc
index 78682b4594f9647f0c9f17ee6842b98686e25bc7..49e43b52c03aba398dced46e1f46c7791614cf10 100644
--- a/sync/internal_api/events/protocol_event.cc
+++ b/sync/internal_api/events/protocol_event.cc
@@ -19,7 +19,7 @@ scoped_ptr<base::DictionaryValue> ProtocolEvent::ToValue(
dict->SetString("details", event.GetDetails());
dict->Set("proto", event.GetProtoMessage().release());
- return dict.Pass();
+ return dict;
}
} // namespace syncer
« no previous file with comments | « sync/internal_api/attachments/task_queue_unittest.cc ('k') | sync/internal_api/model_type_entity_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698