Index: remoting/host/chromoting_host.cc |
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc |
index f5b24353dcbbe5a3f1c8349e22031333a9042c58..836f96f14f431c281a6ab29e5e7aa3d133a715d0 100644 |
--- a/remoting/host/chromoting_host.cc |
+++ b/remoting/host/chromoting_host.cc |
@@ -329,20 +329,6 @@ void ChromotingHost::set_protocol_config( |
protocol_config_ = config.Pass(); |
} |
-void ChromotingHost::OnLocalMouseMoved(const SkIPoint& new_pos) { |
- if (!network_task_runner_->BelongsToCurrentThread()) { |
- network_task_runner_->PostTask( |
- FROM_HERE, base::Bind(&ChromotingHost::OnLocalMouseMoved, |
- this, new_pos)); |
- return; |
- } |
- |
- ClientList::iterator client; |
- for (client = clients_.begin(); client != clients_.end(); ++client) { |
- (*client)->OnLocalMouseMoved(new_pos); |
- } |
-} |
- |
void ChromotingHost::PauseSession(bool pause) { |
if (!network_task_runner_->BelongsToCurrentThread()) { |
network_task_runner_->PostTask( |
@@ -352,7 +338,7 @@ void ChromotingHost::PauseSession(bool pause) { |
ClientList::iterator client; |
for (client = clients_.begin(); client != clients_.end(); ++client) { |
- (*client)->SetDisableInputs(pause); |
+ (*client)->PauseSession(pause); |
} |
} |