Index: components/exo/touch.cc |
diff --git a/components/exo/touch.cc b/components/exo/touch.cc |
index 255072270964c5ae08db902ac498371300d6f4bb..f0db59594419a36274fe3312914d6f254223ff90 100644 |
--- a/components/exo/touch.cc |
+++ b/components/exo/touch.cc |
@@ -4,9 +4,9 @@ |
#include "components/exo/touch.h" |
-#include "ash/shell.h" |
#include "components/exo/surface.h" |
#include "components/exo/touch_delegate.h" |
+#include "components/exo/wm_helper.h" |
#include "ui/aura/window.h" |
#include "ui/events/event.h" |
@@ -32,14 +32,14 @@ bool VectorContainsItem(T& vector, U value) { |
// Touch, public: |
Touch::Touch(TouchDelegate* delegate) : delegate_(delegate) { |
- ash::Shell::GetInstance()->AddPreTargetHandler(this); |
+ WMHelper::GetInstance()->AddPreTargetHandler(this); |
} |
Touch::~Touch() { |
delegate_->OnTouchDestroying(this); |
if (focus_) |
focus_->RemoveSurfaceObserver(this); |
- ash::Shell::GetInstance()->RemovePreTargetHandler(this); |
+ WMHelper::GetInstance()->RemovePreTargetHandler(this); |
} |
//////////////////////////////////////////////////////////////////////////////// |