diff options
Diffstat (limited to 'remoting/host/event_executor_mac.cc')
-rw-r--r-- | remoting/host/event_executor_mac.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/remoting/host/event_executor_mac.cc b/remoting/host/event_executor_mac.cc index cb65832..6ced472 100644 --- a/remoting/host/event_executor_mac.cc +++ b/remoting/host/event_executor_mac.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -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 |