| Index: third_party/WebKit/Source/modules/webusb/USBInterface.h
|
| diff --git a/third_party/WebKit/Source/modules/webusb/USBInterface.h b/third_party/WebKit/Source/modules/webusb/USBInterface.h
|
| index 9a05014cda8e6b3b4bb372374ab0d5cd1f910ece..51be439a8c9c1c08062adb666d8327dc91de33f3 100644
|
| --- a/third_party/WebKit/Source/modules/webusb/USBInterface.h
|
| +++ b/third_party/WebKit/Source/modules/webusb/USBInterface.h
|
| @@ -6,8 +6,8 @@
|
| #define USBInterface_h
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| +#include "device/usb/public/interfaces/device.mojom-wtf.h"
|
| #include "platform/heap/Heap.h"
|
| -#include "public/platform/modules/webusb/WebUSBDeviceInfo.h"
|
|
|
| namespace blink {
|
|
|
| @@ -26,9 +26,9 @@ public:
|
|
|
| USBInterface(const USBDevice*, size_t configurationIndex, size_t interfaceIndex);
|
|
|
| - const WebUSBDeviceInfo::Interface& info() const;
|
| + const device::usb::wtf::InterfaceInfo& info() const;
|
|
|
| - uint8_t interfaceNumber() const;
|
| + uint8_t interfaceNumber() const { return info().interface_number; }
|
| USBAlternateInterface* alternate() const;
|
| HeapVector<Member<USBAlternateInterface>> alternates() const;
|
| bool claimed() const;
|
|
|