| Index: ui/aura/test/ui_controls_factory_aurawin.cc
|
| diff --git a/ui/aura/test/ui_controls_factory_aurawin.cc b/ui/aura/test/ui_controls_factory_aurawin.cc
|
| index 48997fe5bf1f7648dd882a11d358bef4e23cecd0..60a15c9fa223f2cc1965d1579fb190edb2ba4353 100644
|
| --- a/ui/aura/test/ui_controls_factory_aurawin.cc
|
| +++ b/ui/aura/test/ui_controls_factory_aurawin.cc
|
| @@ -36,7 +36,7 @@ class UIControlsWin : public UIControlsAura {
|
| bool alt,
|
| bool command) {
|
| DCHECK(!command); // No command key on Aura
|
| - HWND window = native_window->GetRootWindow()->GetAcceleratedWidget();
|
| + HWND window = native_window->GetDispatcher()->GetAcceleratedWidget();
|
| return SendKeyPressImpl(
|
| window, key, control, shift, alt, base::Closure());
|
| }
|
| @@ -48,7 +48,7 @@ class UIControlsWin : public UIControlsAura {
|
| bool command,
|
| const base::Closure& task) {
|
| DCHECK(!command); // No command key on Aura
|
| - HWND window = native_window->GetRootWindow()->GetAcceleratedWidget();
|
| + HWND window = native_window->GetDispatcher()->GetAcceleratedWidget();
|
| return SendKeyPressImpl(window, key, control, shift, alt, task);
|
| }
|
| virtual bool SendMouseMove(long x, long y) {
|
|
|