summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-16 04:56:36 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-16 04:56:36 +0000
commit978074f1bc60c1de92b6ba652c06231bf048c437 (patch)
tree27e017dfa737da20d44c8b76de01e1ff95945b5d
parent4f6381eea783e82117fd2b68f2a5a2945edc8e4b (diff)
downloadchromium_src-978074f1bc60c1de92b6ba652c06231bf048c437.zip
chromium_src-978074f1bc60c1de92b6ba652c06231bf048c437.tar.gz
chromium_src-978074f1bc60c1de92b6ba652c06231bf048c437.tar.bz2
Fix a mess I made before checkin. I started trying something else but gave
up and forgot to put it back. Review URL: http://codereview.chromium.org/75021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13827 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/tab_contents/web_contents_view_win.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/web_contents_view_win.cc b/chrome/browser/tab_contents/web_contents_view_win.cc
index a4a24f3..102addb 100644
--- a/chrome/browser/tab_contents/web_contents_view_win.cc
+++ b/chrome/browser/tab_contents/web_contents_view_win.cc
@@ -230,7 +230,7 @@ void WebContentsViewWin::SizeContents(const gfx::Size& size) {
}
void WebContentsViewWin::Focus() {
- /*HWND container_hwnd = GetNativeView();
+ HWND container_hwnd = GetNativeView();
if (!container_hwnd)
return;
@@ -241,9 +241,7 @@ void WebContentsViewWin::Focus() {
views::View* v = focus_manager->GetViewForWindow(container_hwnd, true);
DCHECK(v);
if (v)
- v->RequestFocus();*/
- views::View* asdf = GetRootView();
- asdf->RequestFocus();
+ v->RequestFocus();
}
void WebContentsViewWin::SetInitialFocus() {