diff options
Diffstat (limited to 'mojo/examples/nesting_app/nesting_app.cc')
-rw-r--r-- | mojo/examples/nesting_app/nesting_app.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mojo/examples/nesting_app/nesting_app.cc b/mojo/examples/nesting_app/nesting_app.cc index 3c06c8d..249cc37 100644 --- a/mojo/examples/nesting_app/nesting_app.cc +++ b/mojo/examples/nesting_app/nesting_app.cc @@ -58,7 +58,7 @@ class NestingApp : public Application, } // Overridden from ViewObserver: - virtual void OnViewInputEvent(View* view, EventPtr event) OVERRIDE { + virtual void OnViewInputEvent(View* view, const EventPtr& event) OVERRIDE { if (event->action == ui::ET_MOUSE_RELEASED) window_manager_->CloseWindow(view->node()->id()); } @@ -75,4 +75,4 @@ Application* Application::Create() { return new examples::NestingApp; } -} // namespace mojo
\ No newline at end of file +} // namespace mojo |