Index: net/quic/core/quic_session.cc |
diff --git a/net/quic/core/quic_session.cc b/net/quic/core/quic_session.cc |
index 4762222b22b11de45681a4385c81e44a7649d341..b4a69dd7606748fb03de3245e3681690f81780d9 100644 |
--- a/net/quic/core/quic_session.cc |
+++ b/net/quic/core/quic_session.cc |
@@ -283,7 +283,7 @@ QuicConsumedData QuicSession::WritevData( |
QuicIOVector iov, |
QuicStreamOffset offset, |
bool fin, |
- QuicAckListenerInterface* ack_notifier_delegate) { |
+ const scoped_refptr<QuicAckListenerInterface>& ack_notifier_delegate) { |
// This check is an attempt to deal with potential memory corruption |
// in which |id| ends up set to 1 (the crypto stream id). If this happen |
// it might end up resulting in unencrypted stream data being sent. |