Index: ash/test/ash_test_helper.cc |
diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc |
index acdf42eaa3d9b3af539d0832164ce1a8ad7df672..50d4475e49f4cd2f4b91a95af29d3351a9167033 100644 |
--- a/ash/test/ash_test_helper.cc |
+++ b/ash/test/ash_test_helper.cc |
@@ -4,7 +4,7 @@ |
#include "ash/test/ash_test_helper.h" |
-#include "ash/accelerators/accelerator_controller.h" |
+#include "ash/accelerators/accelerator_controller_delegate_aura.h" |
#include "ash/common/ash_switches.h" |
#include "ash/common/display/display_info.h" |
#include "ash/common/material_design/material_design_controller.h" |
@@ -145,7 +145,7 @@ void AshTestHelper::SetUp(bool start_session) { |
ShellTestApi(shell).DisableDisplayAnimator(); |
test_screenshot_delegate_ = new TestScreenshotDelegate(); |
- shell->accelerator_controller()->SetScreenshotDelegate( |
+ shell->accelerator_controller_delegate()->SetScreenshotDelegate( |
std::unique_ptr<ScreenshotDelegate>(test_screenshot_delegate_)); |
} |