summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/tab_contents/web_contents_view_win.cc2
1 files changed, 1 insertions, 1 deletions
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();
}