| Index: chrome/browser/usb/usb_service.cc
|
| diff --git a/chrome/browser/usb/usb_service.cc b/chrome/browser/usb/usb_service.cc
|
| index ad172d88508b2ac06070b809a34f40d7d85ae25f..c69c40c35df50902a2a9456b5c5a697105e6afb4 100644
|
| --- a/chrome/browser/usb/usb_service.cc
|
| +++ b/chrome/browser/usb/usb_service.cc
|
| @@ -8,7 +8,7 @@
|
| #include "base/bind_helpers.h"
|
| #include "base/stl_util.h"
|
| #include "chrome/browser/usb/usb_device.h"
|
| -#include "third_party/libusb/libusb/libusb.h"
|
| +#include "third_party/libusb/libusb.h"
|
|
|
| UsbService::UsbService() : running_(true), thread_("UsbThread") {
|
| libusb_init(&context_);
|
| @@ -75,7 +75,7 @@ void UsbService::PostHandleEventTask() {
|
| }
|
|
|
| void UsbService::HandleEvent() {
|
| - libusb_handle_events_completed(context_, NULL);
|
| + libusb_handle_events(context_);
|
| if (running_) {
|
| PostHandleEventTask();
|
| }
|
|
|