diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-12 19:44:40 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-12 19:44:40 +0000 |
commit | 4a66920f66fe2c5db40f4e8c0efa9cb5d7bebfcb (patch) | |
tree | ad43eb8809273710630790a09fb4c6f7ae476865 | |
parent | eed5e646bd7d8170e1fe6f5ef12692333243ca1b (diff) | |
download | chromium_src-4a66920f66fe2c5db40f4e8c0efa9cb5d7bebfcb.zip chromium_src-4a66920f66fe2c5db40f4e8c0efa9cb5d7bebfcb.tar.gz chromium_src-4a66920f66fe2c5db40f4e8c0efa9cb5d7bebfcb.tar.bz2 |
bustage
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11566 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/tab_contents/web_contents_view_win.cc | 2 |
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(); } |