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

Unified Diff: device/serial/serial_connection_unittest.cc

Issue 2132593002: Remove remaining calls to deprecated MessageLoop methods on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: h264_vt_encoder_unittest.cc Created 4 years, 5 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 | « content/renderer/render_thread_impl.cc ('k') | extensions/browser/api/cast_channel/cast_test_util.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 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() {
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | extensions/browser/api/cast_channel/cast_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698