| Index: remoting/host/event_executor_linux.cc
|
| diff --git a/remoting/host/event_executor_linux.cc b/remoting/host/event_executor_linux.cc
|
| index fe64ad23e446d2c9260b56c8cc66430ab1e1f46a..47c298483647638a6249ef56ab724b159538dc85 100644
|
| --- a/remoting/host/event_executor_linux.cc
|
| +++ b/remoting/host/event_executor_linux.cc
|
| @@ -50,9 +50,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,
|
| @@ -439,13 +439,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
|
|
|