| Index: ui/views/win/hwnd_util_aurawin.cc
|
| diff --git a/ui/views/win/hwnd_util_aurawin.cc b/ui/views/win/hwnd_util_aurawin.cc
|
| index fc748184dac9153fc207a7692e11e39ebbc5d4a8..9fc6f10d8164065cdf041cab3e1a6886d17eb1db 100644
|
| --- a/ui/views/win/hwnd_util_aurawin.cc
|
| +++ b/ui/views/win/hwnd_util_aurawin.cc
|
| @@ -20,12 +20,12 @@ HWND HWNDForWidget(const Widget* widget) {
|
|
|
| HWND HWNDForNativeView(const gfx::NativeView view) {
|
| return view && view->GetRootWindow() ?
|
| - view->GetDispatcher()->GetAcceleratedWidget() : NULL;
|
| + view->GetDispatcher()->host()->GetAcceleratedWidget() : NULL;
|
| }
|
|
|
| HWND HWNDForNativeWindow(const gfx::NativeWindow window) {
|
| return window && window->GetRootWindow() ?
|
| - window->GetDispatcher()->GetAcceleratedWidget() : NULL;
|
| + window->GetDispatcher()->host()->GetAcceleratedWidget() : NULL;
|
| }
|
|
|
| gfx::Rect GetWindowBoundsForClientBounds(View* view,
|
| @@ -34,7 +34,7 @@ gfx::Rect GetWindowBoundsForClientBounds(View* view,
|
| aura::WindowEventDispatcher* dispatcher =
|
| view->GetWidget()->GetNativeWindow()->GetDispatcher();
|
| if (dispatcher) {
|
| - HWND hwnd = dispatcher->GetAcceleratedWidget();
|
| + HWND hwnd = dispatcher->host()->GetAcceleratedWidget();
|
| RECT rect = client_bounds.ToRECT();
|
| DWORD style = ::GetWindowLong(hwnd, GWL_STYLE);
|
| DWORD ex_style = ::GetWindowLong(hwnd, GWL_EXSTYLE);
|
|
|