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

Unified Diff: net/proxy/proxy_service_v8.cc

Issue 1141573002: [net/proxy] Usage of ThreadTaskRunnerHandle & SingleThreadTaskRunner instead of MLP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « net/proxy/proxy_script_fetcher_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_service_v8.cc
diff --git a/net/proxy/proxy_service_v8.cc b/net/proxy/proxy_service_v8.cc
index eac36ec0e3b0cbc576411943c4c83f09c6ae56bd..60916771ab677aef315aafb3f36ecac5f04edc3a 100644
--- a/net/proxy/proxy_service_v8.cc
+++ b/net/proxy/proxy_service_v8.cc
@@ -5,6 +5,7 @@
#include "net/proxy/proxy_service_v8.h"
#include "base/logging.h"
+#include "base/thread_task_runner_handle.h"
#include "base/threading/thread_checker.h"
#include "net/proxy/network_delegate_error_observer.h"
#include "net/proxy/proxy_resolver.h"
@@ -30,7 +31,7 @@ class ProxyResolverFactoryForV8Resolver : public LegacyProxyResolverFactory {
DCHECK(thread_checker_.CalledOnValidThread());
ProxyResolverErrorObserver* error_observer =
new NetworkDelegateErrorObserver(
- network_delegate_, base::MessageLoopProxy::current().get());
+ network_delegate_, base::ThreadTaskRunnerHandle::Get().get());
return make_scoped_ptr(
new ProxyResolverV8Tracing(host_resolver_, error_observer, net_log_));
}
« no previous file with comments | « net/proxy/proxy_script_fetcher_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698