| Index: content/browser/resolve_proxy_msg_helper.cc
|
| diff --git a/content/browser/resolve_proxy_msg_helper.cc b/content/browser/resolve_proxy_msg_helper.cc
|
| index edacad9aa78e2473076a4e9d9e5dc51b1fa894e9..80ab29b13702f64af7c2f4e1aee025751a7eaba5 100644
|
| --- a/content/browser/resolve_proxy_msg_helper.cc
|
| +++ b/content/browser/resolve_proxy_msg_helper.cc
|
| @@ -91,7 +91,7 @@ bool ResolveProxyMsgHelper::GetProxyService(net::ProxyService** out) const {
|
|
|
| // If there is no default request context (say during shut down).
|
| net::URLRequestContextGetter* context_getter =
|
| - Profile::GetDefaultRequestContext();
|
| + Profile::Deprecated::GetDefaultRequestContext();
|
| if (!context_getter)
|
| return false;
|
|
|
| @@ -104,7 +104,8 @@ ResolveProxyMsgHelper::~ResolveProxyMsgHelper() {
|
| // Clear all pending requests if the ProxyService is still alive (if we have a
|
| // default request context or override).
|
| if (!pending_requests_.empty() &&
|
| - (Profile::GetDefaultRequestContext() || proxy_service_override_)) {
|
| + (Profile::Deprecated::GetDefaultRequestContext() ||
|
| + proxy_service_override_)) {
|
| PendingRequest req = pending_requests_.front();
|
| proxy_service_->CancelPacRequest(req.pac_req);
|
| }
|
|
|