Index: mojo/examples/nesting_app/nesting_app.cc |
diff --git a/mojo/examples/nesting_app/nesting_app.cc b/mojo/examples/nesting_app/nesting_app.cc |
index 3c06c8db8fc2e423f04e7e8b5fd4bbbc7c8dc0e9..249cc374873b8d9186126eff129ec7c6338e5f51 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 |
+} // namespace mojo |