Index: ash/test/mirror_window_test_api.cc |
diff --git a/ash/test/mirror_window_test_api.cc b/ash/test/mirror_window_test_api.cc |
index dd495f618679d29030f8928cc1dce17d6b3565f8..701b27ea9af117b8f9da0b901ed8a5665b92feab 100644 |
--- a/ash/test/mirror_window_test_api.cc |
+++ b/ash/test/mirror_window_test_api.cc |
@@ -14,10 +14,9 @@ |
namespace ash { |
namespace test { |
-const aura::WindowEventDispatcher* MirrorWindowTestApi::GetDispatcher() const { |
- aura::WindowTreeHost* host = Shell::GetInstance()->display_controller()-> |
+const aura::WindowTreeHost* MirrorWindowTestApi::GetHost() const { |
+ return Shell::GetInstance()->display_controller()-> |
mirror_window_controller()->host_.get(); |
- return host ? host->dispatcher() : NULL; |
} |
int MirrorWindowTestApi::GetCurrentCursorType() const { |