Index: third_party/WebKit/Source/modules/webusb/USB.cpp |
diff --git a/third_party/WebKit/Source/modules/webusb/USB.cpp b/third_party/WebKit/Source/modules/webusb/USB.cpp |
index df7ea7f9d2916421a3a686516cba40bd19adb1a6..22e051c87f5c64465bfcf489e0e0ceb0a4986ff8 100644 |
--- a/third_party/WebKit/Source/modules/webusb/USB.cpp |
+++ b/third_party/WebKit/Source/modules/webusb/USB.cpp |
@@ -85,10 +85,10 @@ ScriptPromise USB::getDevices(ScriptState* scriptState) { |
resolver->reject(DOMException::create(SecurityError, errorMessage)); |
} else { |
m_deviceManagerRequests.insert(resolver); |
- m_deviceManager->GetDevices( |
- nullptr, convertToBaseCallback(WTF::bind(&USB::onGetDevices, |
- wrapPersistent(this), |
- wrapPersistent(resolver)))); |
+ m_deviceManager->GetDevices(nullptr, |
+ convertToBaseCallback(WTF::bind( |
+ &USB::onGetDevices, wrapPersistent(this), |
+ wrapPersistent(resolver)))); |
} |
} |
return promise; |
@@ -132,9 +132,10 @@ ScriptPromise USB::requestDevice(ScriptState* scriptState, |
} |
m_chooserServiceRequests.insert(resolver); |
m_chooserService->GetPermission( |
- std::move(filters), convertToBaseCallback(WTF::bind( |
- &USB::onGetPermission, wrapPersistent(this), |
- wrapPersistent(resolver)))); |
+ std::move(filters), |
+ convertToBaseCallback(WTF::bind(&USB::onGetPermission, |
+ wrapPersistent(this), |
+ wrapPersistent(resolver)))); |
} |
return promise; |
} |