| Index: third_party/WebKit/Source/modules/webusb/USBDevice.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webusb/USBDevice.cpp b/third_party/WebKit/Source/modules/webusb/USBDevice.cpp
|
| index 6275896a209a750651b33d22e9caf436e89428e1..bca0a3036ea23d6e03d63d5b49c7ee0b13301c8b 100644
|
| --- a/third_party/WebKit/Source/modules/webusb/USBDevice.cpp
|
| +++ b/third_party/WebKit/Source/modules/webusb/USBDevice.cpp
|
| @@ -94,7 +94,7 @@ USBDevice::USBDevice(usb::DeviceInfoPtr deviceInfo, usb::DevicePtr device, Execu
|
| , m_configurationIndex(-1)
|
| {
|
| if (m_device)
|
| - m_device.set_connection_error_handler(createBaseCallback(bind(&USBDevice::onConnectionError, WeakPersistentThisPointer<USBDevice>(this))));
|
| + m_device.set_connection_error_handler(createBaseCallback(bind(&USBDevice::onConnectionError, wrapWeakPersistent(this))));
|
| int configurationIndex = findConfigurationIndex(info().active_configuration);
|
| if (configurationIndex != -1)
|
| onConfigurationSelected(true /* success */, configurationIndex);
|
|
|