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

Unified Diff: net/url_request/url_request_context_storage.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
« no previous file with comments | « net/url_request/url_request_context.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context_storage.cc
diff --git a/net/url_request/url_request_context_storage.cc b/net/url_request/url_request_context_storage.cc
index 65cfba6f511696c48e20114c160c85bce8fcf367..6865edb919a89ee3920744e11f3aa25b93c4f982 100644
--- a/net/url_request/url_request_context_storage.cc
+++ b/net/url_request/url_request_context_storage.cc
@@ -88,8 +88,8 @@ void URLRequestContextStorage::set_proxy_delegate(
void URLRequestContextStorage::set_http_server_properties(
std::unique_ptr<HttpServerProperties> http_server_properties) {
+ context_->set_http_server_properties(http_server_properties.get());
http_server_properties_ = std::move(http_server_properties);
- context_->set_http_server_properties(http_server_properties_->GetWeakPtr());
}
void URLRequestContextStorage::set_cookie_store(
« no previous file with comments | « net/url_request/url_request_context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698