Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2469)

Unified Diff: device/serial/serial_connection_unittest.cc

Issue 1107013002: [device] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/serial/serial_connection_factory.cc ('k') | device/serial/serial_io_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_connection_unittest.cc
diff --git a/device/serial/serial_connection_unittest.cc b/device/serial/serial_connection_unittest.cc
index 84ccf2449ee819d1d9758785bf78f25e1c4ee993..c5a58a2c5050107320e4353c051543350087dc45 100644
--- a/device/serial/serial_connection_unittest.cc
+++ b/device/serial/serial_connection_unittest.cc
@@ -70,7 +70,8 @@ class SerialConnectionTest : public testing::Test, public mojo::ErrorHandler {
new SerialConnectionFactory(
base::Bind(&SerialConnectionTest::CreateIoHandler,
base::Unretained(this)),
- base::MessageLoopProxy::current()),
+ base::ThreadTaskRunnerHandle
Ken Rockot(use gerrit already) 2015/04/28 03:19:09 Please fix the formatting here. How does this even
Pranay 2015/05/04 03:25:23 Done.
+ : Get()),
scoped_ptr<SerialDeviceEnumerator>(new FakeSerialDeviceEnumerator)),
&service);
service.set_error_handler(this);
« no previous file with comments | « device/serial/serial_connection_factory.cc ('k') | device/serial/serial_io_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698