Index: ash/cancel_mode.cc |
diff --git a/ash/cancel_mode.cc b/ash/cancel_mode.cc |
index 9d5456da6a340e68fe083d01159a3b8166bf5011..96d7dcdda9168c0e651b04458c773f7f563aa4fb 100644 |
--- a/ash/cancel_mode.cc |
+++ b/ash/cancel_mode.cc |
@@ -15,7 +15,7 @@ void DispatchCancelMode() { |
Shell::GetAllRootWindowControllers()); |
for (Shell::RootWindowControllerList::const_iterator i = controllers.begin(); |
i != controllers.end(); ++i) { |
- (*i)->host()->dispatcher()->AsWindowTreeHostDelegate()->OnHostCancelMode(); |
+ (*i)->host()->dispatcher()->DispatchCancelModeEvent(); |
} |
} |