Index: chrome/browser/ui/ash/ash_init.cc |
diff --git a/chrome/browser/ui/ash/ash_init.cc b/chrome/browser/ui/ash/ash_init.cc |
index 17b4c36401186ea64a30c4c8d60253036fb1b0ff..64a2426011ea7acc48a86ae1b1591a42aa662106 100644 |
--- a/chrome/browser/ui/ash/ash_init.cc |
+++ b/chrome/browser/ui/ash/ash_init.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/ui/ash/ash_init.h" |
#include "ash/accelerators/accelerator_controller.h" |
+#include "ash/accelerators/accelerator_controller_delegate_aura.h" |
#include "ash/autoclick/autoclick_controller.h" |
#include "ash/common/accessibility_types.h" |
#include "ash/common/ash_switches.h" |
@@ -71,7 +72,7 @@ void OpenAsh(gfx::AcceleratedWidget remote_window) { |
shell_init_params.blocking_pool = content::BrowserThread::GetBlockingPool(); |
ash::Shell* shell = ash::Shell::CreateInstance(shell_init_params); |
- shell->accelerator_controller()->SetScreenshotDelegate( |
+ shell->accelerator_controller_delegate()->SetScreenshotDelegate( |
std::unique_ptr<ash::ScreenshotDelegate>(new ChromeScreenshotGrabber)); |
shell->autoclick_controller()->SetDelegate( |
base::WrapUnique(new chromeos::AutoclickRingHandler())); |