| Index: net/proxy/proxy_script_fetcher_impl.h
|
| diff --git a/net/proxy/proxy_script_fetcher_impl.h b/net/proxy/proxy_script_fetcher_impl.h
|
| index 7a24bf8a2dbc72a7acfa30f9ba9265a21f3ad585..bc1e1928fb09130c370857dbe777079c2b06f183 100644
|
| --- a/net/proxy/proxy_script_fetcher_impl.h
|
| +++ b/net/proxy/proxy_script_fetcher_impl.h
|
| @@ -53,6 +53,7 @@ class NET_EXPORT ProxyScriptFetcherImpl : public ProxyScriptFetcher,
|
| const CompletionCallback& callback) override;
|
| void Cancel() override;
|
| URLRequestContext* GetRequestContext() const override;
|
| + void OnShutdown() override;
|
|
|
| // URLRequest::Delegate methods:
|
| void OnAuthRequired(URLRequest* request,
|
| @@ -83,8 +84,9 @@ class NET_EXPORT ProxyScriptFetcherImpl : public ProxyScriptFetcher,
|
| // Callback for time-out task of request with id |id|.
|
| void OnTimeout(int id);
|
|
|
| - // The context used for making network requests.
|
| - URLRequestContext* const url_request_context_;
|
| + // The context used for making network requests. Set to nullptr by
|
| + // OnShutdown.
|
| + URLRequestContext* url_request_context_;
|
|
|
| // Buffer that URLRequest writes into.
|
| scoped_refptr<IOBuffer> buf_;
|
|
|