Index: ash/accelerators/accelerator_delegate.cc |
diff --git a/ash/accelerators/accelerator_delegate.cc b/ash/accelerators/accelerator_delegate.cc |
index d2c252fba55c661a506ba916392e3e98dfa2fd74..762ed1022028c3ef7049c42c24fd533998f497a6 100644 |
--- a/ash/accelerators/accelerator_delegate.cc |
+++ b/ash/accelerators/accelerator_delegate.cc |
@@ -5,7 +5,6 @@ |
#include "ash/accelerators/accelerator_delegate.h" |
#include "ash/accelerators/accelerator_router.h" |
-#include "ash/wm_window.h" |
#include "ui/aura/window.h" |
#include "ui/events/event.h" |
@@ -19,8 +18,7 @@ bool AcceleratorDelegate::ProcessAccelerator( |
const ui::KeyEvent& key_event, |
const ui::Accelerator& accelerator) { |
return router_->ProcessAccelerator( |
- WmWindow::Get(static_cast<aura::Window*>(key_event.target())), key_event, |
- accelerator); |
+ static_cast<aura::Window*>(key_event.target()), key_event, accelerator); |
} |
} // namespace ash |