diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-17 02:49:03 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-17 02:49:03 +0000 |
commit | 9016e4ded1301f0869a2c30779696db56ccea30f (patch) | |
tree | 25550b8b52f4c073c0856b789c7d5fa80c39fdca /chrome/browser/external_tab_container.cc | |
parent | 3df7b52a11ed8445b6430df5b202d375931d1767 (diff) | |
download | chromium_src-9016e4ded1301f0869a2c30779696db56ccea30f.zip chromium_src-9016e4ded1301f0869a2c30779696db56ccea30f.tar.gz chromium_src-9016e4ded1301f0869a2c30779696db56ccea30f.tar.bz2 |
Remove HWND from TabContents creation.
R=brettw ReviewURL: http://codereview.chromium.org/10967/show
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5554 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r-- | chrome/browser/external_tab_container.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc index ea1f7e3..62aec65 100644 --- a/chrome/browser/external_tab_container.cc +++ b/chrome/browser/external_tab_container.cc @@ -57,8 +57,7 @@ bool ExternalTabContainer::Init(Profile* profile) { views::FocusManager::CreateFocusManager(m_hWnd, GetRootView()); DCHECK(focus_manager); focus_manager->AddKeystrokeListener(this); - tab_contents_ = TabContents::CreateWithType(TAB_CONTENTS_WEB, - m_hWnd, profile, NULL); + tab_contents_ = TabContents::CreateWithType(TAB_CONTENTS_WEB, profile, NULL); if (!tab_contents_) { NOTREACHED(); DestroyWindow(); |