| Index: chrome/browser/local_discovery/privet_device_resolver.cc
|
| diff --git a/chrome/browser/local_discovery/privet_device_resolver.cc b/chrome/browser/local_discovery/privet_device_resolver.cc
|
| index 6bbb13b6bf5b31dd93b44b509103c84f862eed0d..915d42c8f7f51e6ee9a7d5916b2fa1e1258b9590 100644
|
| --- a/chrome/browser/local_discovery/privet_device_resolver.cc
|
| +++ b/chrome/browser/local_discovery/privet_device_resolver.cc
|
| @@ -29,14 +29,12 @@ void PrivetDeviceResolver::Start() {
|
| void PrivetDeviceResolver::OnServiceResolved(
|
| ServiceResolver::RequestStatus request_status,
|
| const ServiceDescription& service_description) {
|
| - DeviceDescription device_description;
|
| if (request_status != ServiceResolver::STATUS_SUCCESS) {
|
| - callback_.Run(false, device_description);
|
| + callback_.Run(false, DeviceDescription());
|
| return;
|
| }
|
|
|
| - device_description.FillFromServiceDescription(service_description);
|
| - callback_.Run(true, device_description);
|
| + callback_.Run(true, DeviceDescription(service_description));
|
| }
|
|
|
| } // namespace local_discovery
|
|
|