Index: mojo/examples/window_manager/window_manager.cc |
diff --git a/mojo/examples/window_manager/window_manager.cc b/mojo/examples/window_manager/window_manager.cc |
index 0b08a522a311699dd80d307e142b67826b3bc720..1ef062c2c4f3bd002c9bdd8bd99302b52b668c41 100644 |
--- a/mojo/examples/window_manager/window_manager.cc |
+++ b/mojo/examples/window_manager/window_manager.cc |
@@ -374,7 +374,7 @@ class WindowManager : public ApplicationDelegate, |
} |
virtual void DispatchEvent(View* target, EventPtr event) OVERRIDE { |
// TODO(beng): More sophisticated focus handling than this is required! |
- if (event->action == ui::ET_MOUSE_PRESSED && |
+ if (event->action == EVENT_TYPE_MOUSE_PRESSED && |
!IsDescendantOfKeyboard(target)) { |
target->node()->SetFocus(); |
} |