diff options
Diffstat (limited to 'printing/printing_context_win.cc')
-rw-r--r-- | printing/printing_context_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc index 29b2604..e967b4b 100644 --- a/printing/printing_context_win.cc +++ b/printing/printing_context_win.cc @@ -55,7 +55,7 @@ HWND GetRootWindow(gfx::NativeView view) { HWND window = NULL; #if defined(USE_AURA) if (view) - window = view->GetRootWindow()->GetAcceleratedWidget(); + window = view->GetDispatcher()->GetAcceleratedWidget(); #else if (view && IsWindow(view)) { window = GetAncestor(view, GA_ROOTOWNER); |