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

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: 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 3d76bd97b1c41a22868c7f44b94a662378885384..512921eafd1d807c05a14e2c3c2eff566be180f4 100644
--- a/sync/internal_api/protocol_event_buffer.cc
+++ b/sync/internal_api/protocol_event_buffer.cc
@@ -29,9 +29,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

Powered by Google App Engine
This is Rietveld 408576698