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

Unified Diff: net/quic/quic_stream_sequencer.h

Issue 1349783006: Cleanup: Pass std::string as const reference if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert third_party changes Created 5 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
Index: net/quic/quic_stream_sequencer.h
diff --git a/net/quic/quic_stream_sequencer.h b/net/quic/quic_stream_sequencer.h
index 8a2e4d87c67e9512d1fe39b36d84787fadfc8f7e..60a950b3bcd94459346c8f9ca2f2ae2ec8ea6bbf 100644
--- a/net/quic/quic_stream_sequencer.h
+++ b/net/quic/quic_stream_sequencer.h
@@ -27,7 +27,7 @@ class NET_EXPORT_PRIVATE QuicStreamSequencer {
public:
// A contiguous segment received by a QUIC stream.
struct FrameData {
- FrameData(QuicStreamOffset offset, std::string segment);
+ FrameData(QuicStreamOffset offset, const std::string& segment);
const QuicStreamOffset offset;
std::string segment;

Powered by Google App Engine
This is Rietveld 408576698