From bf9cdb36cc79becab099c9f37eb80284fb203f45 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Fri, 25 Oct 2013 19:22:45 +0000 Subject: Make GetRootWindow() return a Window instead of a RootWindow. Also adds a typedef from RootWindow to WindowEventDispatcher, the eventual name of this type. Adds a GetDispatcher() method that crawls up to the root Window and returns the WindowEventDispatcher. R=sky@chromium.org http://crbug.com/308843 Review URL: https://codereview.chromium.org/37733003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231077 0039d316-1c4b-4281-b951-d872f2087c98 --- printing/printing_context_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'printing') 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); -- cgit v1.1