Index: chrome/renderer/media/cast_ipc_dispatcher.h |
diff --git a/chrome/renderer/media/cast_ipc_dispatcher.h b/chrome/renderer/media/cast_ipc_dispatcher.h |
index a7c646fdfa2f0a4289ac2020fb625ba7bec47311..58c95e87c08d754d3898ec8ca0d0bec0c4224dcd 100644 |
--- a/chrome/renderer/media/cast_ipc_dispatcher.h |
+++ b/chrome/renderer/media/cast_ipc_dispatcher.h |
@@ -7,6 +7,7 @@ |
#include "base/callback.h" |
#include "base/id_map.h" |
+#include "base/thread_task_runner_handle.h" |
#include "ipc/ipc_channel_proxy.h" |
#include "ipc/message_filter.h" |
#include "media/cast/cast_sender.h" |
@@ -20,7 +21,7 @@ class CastTransportSenderIPC; |
class CastIPCDispatcher : public IPC::MessageFilter { |
public: |
explicit CastIPCDispatcher( |
- const scoped_refptr<base::MessageLoopProxy>& io_message_loop); |
+ const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner); |
static CastIPCDispatcher* Get(); |
void Send(IPC::Message* message); |
@@ -60,8 +61,8 @@ class CastIPCDispatcher : public IPC::MessageFilter { |
// For IPC Send(); must only be accesed on |io_message_loop_|. |
IPC::Sender* sender_; |
- // Message loop on which IPC calls are driven. |
- const scoped_refptr<base::MessageLoopProxy> io_message_loop_; |
+ // Task runner on which IPC calls are driven. |
+ const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
// A map of stream ids to delegates; must only be accessed on |
// |io_message_loop_|. |