| Index: remoting/host/event_executor_linux.cc
|
| diff --git a/remoting/host/event_executor_linux.cc b/remoting/host/event_executor_linux.cc
|
| index bbd798546a1756f7d8be1bd772688335b264c322..5227ef263f95c86c1a7b336fccc420ec4fabbcbf 100644
|
| --- a/remoting/host/event_executor_linux.cc
|
| +++ b/remoting/host/event_executor_linux.cc
|
| @@ -48,9 +48,9 @@ class EventExecutorLinux : public EventExecutor {
|
| virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE;
|
|
|
| // EventExecutor interface.
|
| - virtual void OnSessionStarted(
|
| + virtual void Start(
|
| scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE;
|
| - virtual void OnSessionFinished() OVERRIDE;
|
| + virtual void StopAndDelete() OVERRIDE;
|
|
|
| private:
|
| // |mode| is one of the AutoRepeatModeOn, AutoRepeatModeOff,
|
| @@ -261,13 +261,13 @@ void EventExecutorLinux::InjectMouseEvent(const MouseEvent& event) {
|
| XFlush(display_);
|
| }
|
|
|
| -void EventExecutorLinux::OnSessionStarted(
|
| +void EventExecutorLinux::Start(
|
| scoped_ptr<protocol::ClipboardStub> client_clipboard) {
|
| return;
|
| }
|
|
|
| -void EventExecutorLinux::OnSessionFinished() {
|
| - return;
|
| +void EventExecutorLinux::StopAndDelete() {
|
| + delete this;
|
| }
|
|
|
| } // namespace
|
|
|