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

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

Issue 2322233004: Landing Recent QUIC changes until Sun Sep 4 03:41:00 (Closed)
Patch Set: Remove simulation files from the build. Created 4 years, 3 months 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_utils_test.cc ('k') | net/quic/test_tools/mock_quic_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/reliable_quic_stream.cc
diff --git a/net/quic/core/reliable_quic_stream.cc b/net/quic/core/reliable_quic_stream.cc
index a1c439d16f563626645917a5fbe99938722ef3c9..740f16116a50f00344969d1f5ff99670fd50ea3a 100644
--- a/net/quic/core/reliable_quic_stream.cc
+++ b/net/quic/core/reliable_quic_stream.cc
@@ -46,7 +46,7 @@ size_t GetReceivedFlowControlWindow(QuicSession* session) {
ReliableQuicStream::PendingData::PendingData(
string data_in,
QuicAckListenerInterface* ack_listener_in)
- : data(data_in), offset(0), ack_listener(ack_listener_in) {}
+ : data(std::move(data_in)), offset(0), ack_listener(ack_listener_in) {}
ReliableQuicStream::PendingData::~PendingData() {}
« no previous file with comments | « net/quic/core/quic_utils_test.cc ('k') | net/quic/test_tools/mock_quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698