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

Unified Diff: chrome/browser/profiles/profile_io_data.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 | « chrome/browser/profiles/profile_io_data.h ('k') | chromecast/browser/url_request_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 5c4d65b1023f40e7bba584af83843c3758522b34..c057348b366e9d7a41ef0fdf261ca769e18f9883 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -916,9 +916,8 @@ void ProfileIOData::set_data_reduction_proxy_io_data(
data_reduction_proxy_io_data_ = std::move(data_reduction_proxy_io_data);
}
-base::WeakPtr<net::HttpServerProperties>
-ProfileIOData::http_server_properties() const {
- return http_server_properties_->GetWeakPtr();
+net::HttpServerProperties* ProfileIOData::http_server_properties() const {
+ return http_server_properties_.get();
}
void ProfileIOData::set_http_server_properties(
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | chromecast/browser/url_request_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698