| Index: third_party/WebKit/LayoutTests/usb/usbDevice-iframe.html
|
| diff --git a/third_party/WebKit/LayoutTests/usb/usbDevice-iframe.html b/third_party/WebKit/LayoutTests/usb/usbDevice-iframe.html
|
| index 347b99719d0c3ffe6a97fa6062772c091fa6d89f..f275c44602802a45e6c9d8313ea4625ed6cf5a4b 100644
|
| --- a/third_party/WebKit/LayoutTests/usb/usbDevice-iframe.html
|
| +++ b/third_party/WebKit/LayoutTests/usb/usbDevice-iframe.html
|
| @@ -38,7 +38,8 @@ function runIframeDisconnectTest(usb, onDeviceConnected) {
|
| (frameInterfaces) => {
|
| frameInterfaces.addInterfaceOverrideForTesting(
|
| usb.DeviceManager.name,
|
| - pipe => { mockDeviceManager.bindToPipe(pipe); });
|
| + handle => { mockDeviceManager.bindingSet.addBinding(
|
| + mockDeviceManager, handle); });
|
| iframe.contentWindow.postMessage('Ready', '*');
|
| });
|
| }
|
| @@ -83,7 +84,8 @@ usb_test(usb => {
|
| (frameInterfaces) => {
|
| frameInterfaces.addInterfaceOverrideForTesting(
|
| usb.DeviceManager.name,
|
| - pipe => { mockDeviceManager.bindToPipe(pipe); });
|
| + handle => { mockDeviceManager.bindingSet.addBinding(
|
| + mockDeviceManager, handle); });
|
| iframe.contentWindow.postMessage('Ready', '*');
|
| });
|
| }
|
|
|