Index: remoting/host/event_executor_win.cc |
diff --git a/remoting/host/event_executor_win.cc b/remoting/host/event_executor_win.cc |
index b1f58427f4c01799147294faa6b264b37c15ac0d..de865ac0ff5f841377212efa549d7bd1cb022e6f 100644 |
--- a/remoting/host/event_executor_win.cc |
+++ b/remoting/host/event_executor_win.cc |
@@ -167,9 +167,10 @@ void EventExecutorWin::HandleMouse(const MouseEvent& event) { |
} // namespace |
-EventExecutor* EventExecutor::Create(MessageLoop* message_loop, |
- Capturer* capturer) { |
- return new EventExecutorWin(message_loop, capturer); |
+scoped_ptr<protocol::InputStub> EventExecutor::Create(MessageLoop* message_loop, |
+ Capturer* capturer) { |
+ return scoped_ptr<protocol::InputStub>( |
+ new EventExecutorWin(message_loop, capturer)); |
} |
} // namespace remoting |