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

Unified Diff: net/quic/core/quic_spdy_session.cc

Issue 2588043002: Pass value and use std::move instead of const reference for ack listeners. (Closed)
Patch Set: Created 4 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 | « net/quic/core/quic_spdy_session.h ('k') | net/quic/core/quic_spdy_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_spdy_session.cc
diff --git a/net/quic/core/quic_spdy_session.cc b/net/quic/core/quic_spdy_session.cc
index 0fe39fa590e5e1a3e83ceaef5f178a04d5b08d30..ba6a4192dedaf74f9bd83f31c0bb823c86e9eb4a 100644
--- a/net/quic/core/quic_spdy_session.cc
+++ b/net/quic/core/quic_spdy_session.cc
@@ -74,9 +74,9 @@ size_t QuicSpdySession::WriteHeaders(
SpdyHeaderBlock headers,
bool fin,
SpdyPriority priority,
- const scoped_refptr<QuicAckListenerInterface>& ack_notifier_delegate) {
+ scoped_refptr<QuicAckListenerInterface> ack_notifier_delegate) {
return headers_stream_->WriteHeaders(id, std::move(headers), fin, priority,
- ack_notifier_delegate);
+ std::move(ack_notifier_delegate));
}
void QuicSpdySession::OnHeadersHeadOfLineBlocking(QuicTime::Delta delta) {
« no previous file with comments | « net/quic/core/quic_spdy_session.h ('k') | net/quic/core/quic_spdy_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698