diff options
Diffstat (limited to 'ui/views/event_utils_aura.cc')
-rw-r--r-- | ui/views/event_utils_aura.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/views/event_utils_aura.cc b/ui/views/event_utils_aura.cc index 4ac21d1..6bdc2ea3 100644 --- a/ui/views/event_utils_aura.cc +++ b/ui/views/event_utils_aura.cc @@ -31,7 +31,7 @@ bool RepostLocatedEvent(gfx::NativeWindow window, } else { if (ViewsDelegate::views_delegate && !ViewsDelegate::views_delegate->IsWindowInMetro(window)) - target_window = window->GetDispatcher()->host()->GetAcceleratedWidget(); + target_window = window->GetHost()->GetAcceleratedWidget(); } return RepostLocatedEventWin(target_window, event); #endif @@ -63,7 +63,7 @@ bool RepostLocatedEvent(gfx::NativeWindow window, relocated->set_location(root_loc); relocated->set_root_location(root_loc); - root_window->GetDispatcher()->RepostEvent(*relocated); + root_window->GetHost()->dispatcher()->RepostEvent(*relocated); return true; } |