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

Unified Diff: device/bluetooth/bluetooth_socket_thread.cc

Issue 1179163002: Migrate callers of message_loop_proxy() to task_runner() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 6 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 | « dbus/test_server.cc ('k') | jingle/notifier/base/xmpp_connection_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_socket_thread.cc
diff --git a/device/bluetooth/bluetooth_socket_thread.cc b/device/bluetooth/bluetooth_socket_thread.cc
index 6aa1013f7325c71f95354156dd4964d9d3b1d044..5e0c153b8dde8cf83879300bb7127a0987aab4a4 100644
--- a/device/bluetooth/bluetooth_socket_thread.cc
+++ b/device/bluetooth/bluetooth_socket_thread.cc
@@ -63,7 +63,7 @@ void BluetoothSocketThread::EnsureStarted() {
thread_options.message_loop_type = base::MessageLoop::TYPE_IO;
thread_.reset(new base::Thread("BluetoothSocketThread"));
thread_->StartWithOptions(thread_options);
- task_runner_ = thread_->message_loop_proxy();
+ task_runner_ = thread_->task_runner();
}
scoped_refptr<base::SequencedTaskRunner> BluetoothSocketThread::task_runner()
« no previous file with comments | « dbus/test_server.cc ('k') | jingle/notifier/base/xmpp_connection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698