Chromium Code Reviews| Index: device/devices_app/usb/device_impl.cc |
| diff --git a/device/devices_app/usb/device_impl.cc b/device/devices_app/usb/device_impl.cc |
| index e8b299b86b77f69da4f8992d90bc413cf13d89ab..213f1cfb79c761a45ee66d16fc936f0db61978f5 100644 |
| --- a/device/devices_app/usb/device_impl.cc |
| +++ b/device/devices_app/usb/device_impl.cc |
| @@ -123,7 +123,7 @@ void DeviceImpl::GetDeviceInfo(const GetDeviceInfoCallback& callback) { |
| // but GetConfiguration() is non-const so we do it here for now. |
| DeviceInfoPtr info = DeviceInfo::From(*device_handle_->GetDevice()); |
| const UsbConfigDescriptor* config = |
| - device_handle_->GetDevice()->GetConfiguration(); |
| + device_handle_->GetDevice()->GetActiveConfiguration(); |
| info->configurations = mojo::Array<ConfigurationInfoPtr>::New(0); |
|
Reilly Grant (use Gerrit)
2015/08/04 23:47:08
Please update this method to fill info->configurat
juncai
2015/08/05 15:42:17
I will do this in another patch.
|
| if (config) |
| info->configurations.push_back(ConfigurationInfo::From(*config)); |