Index: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc |
diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc |
index 33c9451c6a7fdc4671fe754eff08b2c3dbb64d83..0c9ac495a4a7e3b77c921257110b141d1b9fd8f4 100644 |
--- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc |
+++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc |
@@ -171,7 +171,7 @@ void LocalDiscoveryUIHandler::HandleStart(const base::ListValue* args) { |
privet_lister_.reset( |
new PrivetDeviceListerImpl(service_discovery_client_.get(), this)); |
privet_http_factory_ = PrivetHTTPAsynchronousFactory::CreateInstance( |
- service_discovery_client_.get(), profile->GetRequestContext()); |
+ profile->GetRequestContext()); |
SigninManagerBase* signin_manager = |
SigninManagerFactory::GetInstance()->GetForProfile(profile); |
@@ -211,8 +211,7 @@ void LocalDiscoveryUIHandler::HandleRegisterDevice( |
if (found->second.version < kCloudDevicesPrivetVersion) { |
privet_resolution_ = privet_http_factory_->CreatePrivetHTTP( |
- device, |
- found->second.address, |
+ device, found->second.address, |
base::Bind(&LocalDiscoveryUIHandler::StartRegisterHTTP, |
base::Unretained(this))); |
privet_resolution_->Start(); |