Index: remoting/host/event_executor_win.cc |
diff --git a/remoting/host/event_executor_win.cc b/remoting/host/event_executor_win.cc |
index 430266a73177666039c9512ddbf3c8adcd11d8ae..26ff72cebdb1db9d56b3dc9924a0362df3fc20f2 100644 |
--- a/remoting/host/event_executor_win.cc |
+++ b/remoting/host/event_executor_win.cc |
@@ -44,7 +44,8 @@ class EventExecutorWin : public EventExecutor { |
virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE; |
// EventExecutor interface. |
- virtual void OnSessionStarted() OVERRIDE; |
+ virtual void OnSessionStarted( |
+ scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE; |
virtual void OnSessionFinished() OVERRIDE; |
private: |
@@ -106,16 +107,18 @@ void EventExecutorWin::InjectMouseEvent(const MouseEvent& event) { |
HandleMouse(event); |
} |
-void EventExecutorWin::OnSessionStarted() { |
+void EventExecutorWin::OnSessionStarted( |
+ scoped_ptr<protocol::ClipboardStub> client_clipboard) { |
if (!ui_loop_->BelongsToCurrentThread()) { |
ui_loop_->PostTask( |
FROM_HERE, |
base::Bind(&EventExecutorWin::OnSessionStarted, |
- base::Unretained(this))); |
+ base::Unretained(this), |
+ base::Passed(client_clipboard.Pass()))); |
Wez
2012/05/30 23:58:02
I think you want base::Passed(&client_clipboard) h
simonmorris
2012/05/31 00:21:18
Done.
|
return; |
} |
- clipboard_->Start(); |
+ clipboard_->Start(client_clipboard.Pass()); |
} |
void EventExecutorWin::OnSessionFinished() { |