diff options
author | sergeyu <sergeyu@chromium.org> | 2014-09-04 18:39:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-05 01:43:54 +0000 |
commit | 3f923064c11c69f13a7aba56dce6620a33166c94 (patch) | |
tree | 2addeba01ccd32adadbae6556cf3f8566a7c8149 /chrome/service | |
parent | 84eae5e4c626a3b61b13b22fd13f859ec410583a (diff) | |
download | chromium_src-3f923064c11c69f13a7aba56dce6620a33166c94.zip chromium_src-3f923064c11c69f13a7aba56dce6620a33166c94.tar.gz chromium_src-3f923064c11c69f13a7aba56dce6620a33166c94.tar.bz2 |
Use scoped_refptr<SingleThreadTaskRunner> when initializing ProxyConfigService
Previously MessageLoop was used to pass reference to the FILE thread
to ProxyConfigServiceLinux. Changeed it to use SingleThreadTaskRunner.
Also for other thread the task runners were passed as raw pointers.
Changed it to use scoped_refptr<> instead.
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/540593002
Cr-Commit-Position: refs/heads/master@{#293395}
Diffstat (limited to 'chrome/service')
-rw-r--r-- | chrome/service/net/service_url_request_context_getter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/service/net/service_url_request_context_getter.cc b/chrome/service/net/service_url_request_context_getter.cc index 8f0de43..3741990 100644 --- a/chrome/service/net/service_url_request_context_getter.cc +++ b/chrome/service/net/service_url_request_context_getter.cc @@ -105,8 +105,8 @@ ServiceURLRequestContextGetter::ServiceURLRequestContextGetter() // MessageLoopProxy* instead of MessageLoop*. DCHECK(g_service_process); proxy_config_service_.reset(net::ProxyService::CreateSystemProxyConfigService( - g_service_process->io_thread()->message_loop_proxy().get(), - g_service_process->file_thread()->message_loop())); + g_service_process->io_thread()->message_loop_proxy(), + g_service_process->file_thread()->message_loop_proxy())); } net::URLRequestContext* |