summaryrefslogtreecommitdiffstats
path: root/mojo/examples/window_manager/window_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/examples/window_manager/window_manager.cc')
-rw-r--r--mojo/examples/window_manager/window_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mojo/examples/window_manager/window_manager.cc b/mojo/examples/window_manager/window_manager.cc
index cbdde1a..92d0403 100644
--- a/mojo/examples/window_manager/window_manager.cc
+++ b/mojo/examples/window_manager/window_manager.cc
@@ -66,7 +66,7 @@ class WindowManager : 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) {
if (event->flags & ui::EF_LEFT_MOUSE_BUTTON)
CreateWindow("mojo:mojo_embedded_app");
@@ -125,4 +125,4 @@ Application* Application::Create() {
return new examples::WindowManager;
}
-} // namespace mojo \ No newline at end of file
+} // namespace mojo