-
Jerry Zhang authored
On Windows, Chromium may fail to read the function path in GetFunctionInfo() after the USB device is plugged in. But the empty function path is still added to the functions vector which is passed to the constructor of UsbDeviceWin. We need to update the FunctionInfo in the calling of UsbDeviceWin::UpdateFunction later on. Otherwise, Chromium will report errors while the USB APIs are called from upper apps due to the empty path check. Bug: 1166403 Change-Id: I539890dd66cb2f313f2dd413cce1a8ece56a4e0e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2628704 Commit-Queue: Reilly Grant <reillyg@chromium.org> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#844295}
fd955d00