Index: device/test/test_device_client.cc |
diff --git a/device/test/test_device_client.cc b/device/test/test_device_client.cc |
index 7b9d033839a1a9ec0c1e499338ba805e2a379fb3..627374d21d8df1864e13fa8a54d6f5ce016cd0c7 100644 |
--- a/device/test/test_device_client.cc |
+++ b/device/test/test_device_client.cc |
@@ -16,9 +16,7 @@ |
namespace device { |
-TestDeviceClient::TestDeviceClient( |
- scoped_refptr<base::SingleThreadTaskRunner> blocking_task_runner) |
- : blocking_task_runner_(blocking_task_runner) {} |
+TestDeviceClient::TestDeviceClient() = default; |
TestDeviceClient::~TestDeviceClient() { |
if (hid_service_) |
@@ -38,9 +36,8 @@ HidService* TestDeviceClient::GetHidService() { |
UsbService* TestDeviceClient::GetUsbService() { |
#if !defined(OS_ANDROID) && !defined(OS_IOS) |
- if (!usb_service_) { |
- usb_service_ = UsbService::Create(blocking_task_runner_); |
- } |
+ if (!usb_service_) |
+ usb_service_ = UsbService::Create(); |
#endif |
return usb_service_.get(); |
} |