Index: extensions/renderer/api/serial/serial_api_unittest.cc |
diff --git a/extensions/renderer/api/serial/serial_api_unittest.cc b/extensions/renderer/api/serial/serial_api_unittest.cc |
index 0d247b94aed6acbf2a75c8a4947867df5d537055..508c4a04d6ae516d52818790fb8620040ee9d365 100644 |
--- a/extensions/renderer/api/serial/serial_api_unittest.cc |
+++ b/extensions/renderer/api/serial/serial_api_unittest.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "base/thread_task_runner_handle.h" |
#include "device/serial/serial_device_enumerator.h" |
#include "device/serial/serial_service_impl.h" |
#include "device/serial/test_serial_io_handler.h" |
@@ -439,7 +440,7 @@ class SerialApiTest : public ApiTestBase { |
new device::SerialConnectionFactory( |
base::Bind(&SerialApiTest::GetIoHandler, |
base::Unretained(this)), |
- base::MessageLoopProxy::current()), |
+ base::ThreadTaskRunnerHandle::Get()), |
scoped_ptr<device::SerialDeviceEnumerator>( |
new FakeSerialDeviceEnumerator)), |
&request); |