Index: net/quic/quic_connection.h |
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h |
index a1411e21c294d239476023f646f99aa1d79976eb..004e21579277378c81ec443d0f3a010d5684330a 100644 |
--- a/net/quic/quic_connection.h |
+++ b/net/quic/quic_connection.h |
@@ -349,7 +349,7 @@ class NET_EXPORT_PRIVATE QuicConnection |
// Updates internal state based in incoming_ack.sent_info |
void UpdatePacketInformationSentByPeer(const QuicAckFrame& incoming_ack); |
- QuicConnectionHelperInterface* helper() { return helper_; } |
+ QuicConnectionHelperInterface* helper() { return helper_.get(); } |
private: |
friend class test::QuicConnectionPeer; |
@@ -426,7 +426,7 @@ class NET_EXPORT_PRIVATE QuicConnection |
// Closes any FEC groups protecting packets before |sequence_number|. |
void CloseFecGroupsBefore(QuicPacketSequenceNumber sequence_number); |
- QuicConnectionHelperInterface* helper_; |
+ scoped_ptr<QuicConnectionHelperInterface> helper_; |
QuicFramer framer_; |
const QuicClock* clock_; |
QuicRandom* random_generator_; |