| Index: device/usb/usb_device_handle_impl.cc
|
| diff --git a/device/usb/usb_device_handle_impl.cc b/device/usb/usb_device_handle_impl.cc
|
| index 6a0861263e58f50557f68731b46079fecd62df9b..eb657a53d22d53250cfecf13660e7fbe264a3a57 100644
|
| --- a/device/usb/usb_device_handle_impl.cc
|
| +++ b/device/usb/usb_device_handle_impl.cc
|
| @@ -16,7 +16,6 @@
|
| #include "base/thread_task_runner_handle.h"
|
| #include "components/device_event_log/device_event_log.h"
|
| #include "device/usb/usb_context.h"
|
| -#include "device/usb/usb_descriptors.h"
|
| #include "device/usb/usb_device_impl.h"
|
| #include "device/usb/usb_error.h"
|
| #include "device/usb/usb_service.h"
|
| @@ -776,7 +775,7 @@ void UsbDeviceHandleImpl::ResetDeviceOnBlockingThread(
|
| void UsbDeviceHandleImpl::RefreshEndpointMap() {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| endpoint_map_.clear();
|
| - const UsbConfigDescriptor* config = device_->GetConfiguration();
|
| + const UsbConfigDescriptor* config = device_->GetActiveConfiguration();
|
| if (config) {
|
| for (const auto& map_entry : claimed_interfaces_) {
|
| int interface_number = map_entry.first;
|
|
|