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

Unified Diff: sync/internal_api/protocol_event_buffer.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/protocol_event_buffer.cc
diff --git a/sync/internal_api/protocol_event_buffer.cc b/sync/internal_api/protocol_event_buffer.cc
index 962a0bd31b1b9212e280d131422b531424356b31..dc4af22b0bc6533b32b5e9c9d8d7cb7528dc8481 100644
--- a/sync/internal_api/protocol_event_buffer.cc
+++ b/sync/internal_api/protocol_event_buffer.cc
@@ -31,9 +31,9 @@ ProtocolEventBuffer::GetBufferedProtocolEvents() const {
ScopedVector<ProtocolEvent> ret;
for (std::deque<ProtocolEvent*>::const_iterator it = buffer_.begin();
it != buffer_.end(); ++it) {
- ret.push_back((*it)->Clone().Pass());
+ ret.push_back((*it)->Clone());
}
- return ret.Pass();
+ return ret;
}
} // namespace syncer
« no previous file with comments | « sync/internal_api/model_type_store_impl_unittest.cc ('k') | sync/internal_api/public/attachments/task_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698