Index: net/quic/quic_connection.cc |
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc |
index 9594fdd6982bad4c8ed79e8843a67846d7196cfe..405ba422554177fa3b40c96917ac9546df1cc726 100644 |
--- a/net/quic/quic_connection.cc |
+++ b/net/quic/quic_connection.cc |
@@ -1695,7 +1695,7 @@ void QuicConnection::MaybeProcessUndecryptablePackets() { |
// new keys installed and hence any undecryptable packets will |
// never be able to be decrypted. |
if (encryption_level_ == ENCRYPTION_FORWARD_SECURE) { |
- if (debug_visitor_ != NULL) { |
+ if (debug_visitor_.get() != NULL) { |
for (size_t i = 0; i < undecryptable_packets_.size(); ++i) { |
debug_visitor_->OnUndecryptablePacket(); |
} |