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

Unified Diff: net/quic/quic_end_to_end_unittest.cc

Issue 2041863002: Remove HttpServerProperies::GetWeakPtr(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 6 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_end_to_end_unittest.cc
diff --git a/net/quic/quic_end_to_end_unittest.cc b/net/quic/quic_end_to_end_unittest.cc
index 612e48d6cd1a0fa4356a6a3b95219f9a9ab135ae..6212e8dec3c037ab99591107c9f8cf586a7bc73a 100644
--- a/net/quic/quic_end_to_end_unittest.cc
+++ b/net/quic/quic_end_to_end_unittest.cc
@@ -121,7 +121,7 @@ class QuicEndToEndTest : public ::testing::TestWithParam<TestParams> {
params_.proxy_service = proxy_service_.get();
params_.ssl_config_service = ssl_config_service_.get();
params_.http_auth_handler_factory = auth_handler_factory_.get();
- params_.http_server_properties = http_server_properties.GetWeakPtr();
+ params_.http_server_properties = &http_server_properties_;
channel_id_service_.reset(
new ChannelIDService(new DefaultChannelIDStore(nullptr),
base::ThreadTaskRunnerHandle::Get()));
@@ -254,7 +254,7 @@ class QuicEndToEndTest : public ::testing::TestWithParam<TestParams> {
scoped_refptr<SSLConfigServiceDefaults> ssl_config_service_;
std::unique_ptr<ProxyService> proxy_service_;
std::unique_ptr<HttpAuthHandlerFactory> auth_handler_factory_;
- HttpServerPropertiesImpl http_server_properties;
+ HttpServerPropertiesImpl http_server_properties_;
HttpNetworkSession::Params params_;
std::unique_ptr<TestTransactionFactory> transaction_factory_;
HttpRequestInfo request_;
« no previous file with comments | « net/quic/crypto/properties_based_quic_server_info_test.cc ('k') | net/quic/quic_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698