Index: net/quic/crypto/properties_based_quic_server_info.h |
diff --git a/net/quic/crypto/properties_based_quic_server_info.h b/net/quic/crypto/properties_based_quic_server_info.h |
index c7189ab4810ce0da3c3d44ea1d35b4bd9a33263b..c4cea6981fa63e34d0971be702a155ad381223d9 100644 |
--- a/net/quic/crypto/properties_based_quic_server_info.h |
+++ b/net/quic/crypto/properties_based_quic_server_info.h |
@@ -23,9 +23,8 @@ class HttpServerProperties; |
// it's ok for us to keep it on disk. |
class NET_EXPORT_PRIVATE PropertiesBasedQuicServerInfo : public QuicServerInfo { |
public: |
- PropertiesBasedQuicServerInfo( |
- const QuicServerId& server_id, |
- base::WeakPtr<HttpServerProperties> http_server_properties); |
+ PropertiesBasedQuicServerInfo(const QuicServerId& server_id, |
+ HttpServerProperties* http_server_properties); |
~PropertiesBasedQuicServerInfo() override; |
// QuicServerInfo implementation. |
@@ -39,7 +38,7 @@ class NET_EXPORT_PRIVATE PropertiesBasedQuicServerInfo : public QuicServerInfo { |
void OnExternalCacheHit() override; |
private: |
- base::WeakPtr<HttpServerProperties> http_server_properties_; |
+ HttpServerProperties* http_server_properties_; |
DISALLOW_COPY_AND_ASSIGN(PropertiesBasedQuicServerInfo); |
}; |
@@ -48,13 +47,13 @@ class NET_EXPORT_PRIVATE PropertiesBasedQuicServerInfoFactory |
: public QuicServerInfoFactory { |
public: |
explicit PropertiesBasedQuicServerInfoFactory( |
- base::WeakPtr<HttpServerProperties> http_server_properties); |
+ HttpServerProperties* http_server_properties); |
~PropertiesBasedQuicServerInfoFactory() override; |
QuicServerInfo* GetForServer(const QuicServerId& server_id) override; |
private: |
- base::WeakPtr<HttpServerProperties> http_server_properties_; |
+ HttpServerProperties* http_server_properties_; |
DISALLOW_COPY_AND_ASSIGN(PropertiesBasedQuicServerInfoFactory); |
}; |