From 4a66920f66fe2c5db40f4e8c0efa9cb5d7bebfcb Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Thu, 12 Mar 2009 19:44:40 +0000 Subject: bustage git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11566 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/tab_contents/web_contents_view_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/browser/tab_contents/web_contents_view_win.cc b/chrome/browser/tab_contents/web_contents_view_win.cc index 2a2ffdd..927f612 100644 --- a/chrome/browser/tab_contents/web_contents_view_win.cc +++ b/chrome/browser/tab_contents/web_contents_view_win.cc @@ -273,7 +273,7 @@ void WebContentsViewWin::StoreFocus() { if (container_hwnd) { views::View* focused_view = focus_manager->GetFocusedView(); if (focused_view) { - HWND hwnd = focused_view->GetRootView()->GetWidget()->GetHWND(); + HWND hwnd = focused_view->GetRootView()->GetWidget()->GetNativeView(); if (container_hwnd == hwnd || ::IsChild(container_hwnd, hwnd)) focus_manager->ClearFocus(); } -- cgit v1.1