Index: remoting/host/event_executor_mac.cc |
diff --git a/remoting/host/event_executor_mac.cc b/remoting/host/event_executor_mac.cc |
index cb6583248df63b643acbd654cfea82aa0146b72b..4ede541256ea40fe1c8381dec13e803cbbdcfacc 100644 |
--- a/remoting/host/event_executor_mac.cc |
+++ b/remoting/host/event_executor_mac.cc |
@@ -289,9 +289,10 @@ void EventExecutorMac::InjectMouseEvent(const MouseEvent& event) { |
} // namespace |
-EventExecutor* EventExecutor::Create(MessageLoop* message_loop, |
- Capturer* capturer) { |
- return new EventExecutorMac(message_loop, capturer); |
+scoped_ptr<protocol::InputStub> EventExecutor::Create(MessageLoop* message_loop, |
+ Capturer* capturer) { |
+ return scoped_ptr<protocol::InputStub>( |
+ new EventExecutorMac(message_loop, capturer)); |
} |
} // namespace remoting |