Index: chrome/browser/local_discovery/privet_notifications.cc |
diff --git a/chrome/browser/local_discovery/privet_notifications.cc b/chrome/browser/local_discovery/privet_notifications.cc |
index cd02d669a2079d53b9d6be375264523f8bb96ec0..9fee9c3bcce5a0b2885d71f2b9f59d20efd073b6 100644 |
--- a/chrome/browser/local_discovery/privet_notifications.cc |
+++ b/chrome/browser/local_discovery/privet_notifications.cc |
@@ -105,13 +105,11 @@ void PrivetNotificationsListener::DeviceChanged( |
if (!device_context->registered) { |
device_context->privet_http_resolution = |
- privet_http_factory_->CreatePrivetHTTP( |
- name, |
- description.address, |
- base::Bind(&PrivetNotificationsListener::CreateInfoOperation, |
- base::Unretained(this))); |
- |
- device_context->privet_http_resolution->Start(); |
+ privet_http_factory_->CreatePrivetHTTP(name); |
+ device_context->privet_http_resolution->Start( |
+ description.address, |
+ base::Bind(&PrivetNotificationsListener::CreateInfoOperation, |
+ base::Unretained(this))); |
} |
} |