Index: device/serial/serial_connection_unittest.cc |
diff --git a/device/serial/serial_connection_unittest.cc b/device/serial/serial_connection_unittest.cc |
index 35543bb3d170562b3b4627f30344b137d5ec1fab..00904b945aa4644d48aa6a4f8ae31db53120438c 100644 |
--- a/device/serial/serial_connection_unittest.cc |
+++ b/device/serial/serial_connection_unittest.cc |
@@ -145,7 +145,7 @@ class SerialConnectionTest : public testing::Test { |
expected_event_ = EVENT_NONE; |
ASSERT_TRUE(message_loop_); |
ASSERT_TRUE(!stop_run_loop_.is_null()); |
- message_loop_->PostTask(FROM_HERE, stop_run_loop_); |
+ message_loop_->task_runner()->PostTask(FROM_HERE, stop_run_loop_); |
} |
scoped_refptr<SerialIoHandler> CreateIoHandler() { |