Index: chrome/browser/extensions/api/input/input.cc |
diff --git a/chrome/browser/extensions/api/input/input.cc b/chrome/browser/extensions/api/input/input.cc |
index 4797ce9f8bad71e29d56a1b988f8eb6469ddc1c1..d0a8ab599ba666298c8085e0c54bbc701ba9c0a7 100644 |
--- a/chrome/browser/extensions/api/input/input.cc |
+++ b/chrome/browser/extensions/api/input/input.cc |
@@ -58,7 +58,7 @@ bool VirtualKeyboardPrivateMoveCursorFunction::RunImpl() { |
return keyboard::MoveCursor( |
swipe_direction, |
modifier_flags, |
- ash::Shell::GetPrimaryRootWindow()->GetDispatcher()); |
+ ash::Shell::GetPrimaryRootWindow()->GetHost()->dispatcher()); |
#endif |
error_ = kNotYetImplementedError; |
return false; |
@@ -89,7 +89,7 @@ bool VirtualKeyboardPrivateSendKeyEventFunction::RunImpl() { |
key_code, |
key_name, |
modifiers, |
- ash::Shell::GetPrimaryRootWindow()->GetDispatcher()); |
+ ash::Shell::GetPrimaryRootWindow()->GetHost()->dispatcher()); |
#endif |
error_ = kNotYetImplementedError; |
return false; |