Index: net/proxy/proxy_resolver_factory_mojo.cc |
diff --git a/net/proxy/proxy_resolver_factory_mojo.cc b/net/proxy/proxy_resolver_factory_mojo.cc |
index 592e7489f127b0d97e7d2bde8c68f3725f788183..e79f5c2c2490aa6c7e916da9c64febc2c9ac05e0 100644 |
--- a/net/proxy/proxy_resolver_factory_mojo.cc |
+++ b/net/proxy/proxy_resolver_factory_mojo.cc |
@@ -196,11 +196,10 @@ ProxyResolverMojo::Job::Job(ProxyResolverMojo* resolver, |
results_(results), |
callback_(callback), |
binding_(this) { |
- binding_.set_connection_error_handler(base::Bind( |
- &ProxyResolverMojo::Job::OnConnectionError, base::Unretained(this))); |
- |
interfaces::ProxyResolverRequestClientPtr client_ptr; |
binding_.Bind(mojo::GetProxy(&client_ptr)); |
+ binding_.set_connection_error_handler(base::Bind( |
+ &ProxyResolverMojo::Job::OnConnectionError, base::Unretained(this))); |
resolver_->mojo_proxy_resolver_ptr_->GetProxyForUrl(mojo::String::From(url_), |
client_ptr.Pass()); |
} |