| Index: ui/views/widget/desktop_aura/desktop_screen_win.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_screen_win.cc b/ui/views/widget/desktop_aura/desktop_screen_win.cc
|
| index 53de6e08df93ef995f3a0022260944556a0d41a1..86823a04d3a8e451ef6aa481170418990a21640c 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_screen_win.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_screen_win.cc
|
| @@ -55,7 +55,7 @@ gfx::Display DesktopScreenWin::GetDisplayMatching(
|
|
|
| HWND DesktopScreenWin::GetHWNDFromNativeView(gfx::NativeView window) const {
|
| aura::WindowEventDispatcher* dispatcher = window->GetDispatcher();
|
| - return dispatcher ? dispatcher->GetAcceleratedWidget() : NULL;
|
| + return dispatcher ? dispatcher->host()->GetAcceleratedWidget() : NULL;
|
| }
|
|
|
| gfx::NativeWindow DesktopScreenWin::GetNativeWindowFromHWND(HWND hwnd) const {
|
|
|