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

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: 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: 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 49e6b930bb1decd6029985550fc1947e8afdac26..8c7ba4b04fbdae3be9d47886750caa3ac2d23c5f 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -914,9 +914,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(

Powered by Google App Engine
This is Rietveld 408576698