summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/dom_view.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-17 02:49:03 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-17 02:49:03 +0000
commit9016e4ded1301f0869a2c30779696db56ccea30f (patch)
tree25550b8b52f4c073c0856b789c7d5fa80c39fdca /chrome/browser/views/dom_view.cc
parent3df7b52a11ed8445b6430df5b202d375931d1767 (diff)
downloadchromium_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/views/dom_view.cc')
-rw-r--r--chrome/browser/views/dom_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/dom_view.cc b/chrome/browser/views/dom_view.cc
index ebb63e3..ba74fac 100644
--- a/chrome/browser/views/dom_view.cc
+++ b/chrome/browser/views/dom_view.cc
@@ -28,8 +28,8 @@ bool DOMView::Init(Profile* profile, SiteInstance* instance) {
// a DOMUIHostFactory rather than TabContentsFactory, because DOMView's
// should only be associated with instances of DOMUIHost.
TabContentsType type = TabContents::TypeForURL(&contents_);
- TabContents* tab_contents = TabContents::CreateWithType(type,
- GetContainer()->GetHWND(), profile, instance);
+ TabContents* tab_contents = TabContents::CreateWithType(type, profile,
+ instance);
host_ = tab_contents->AsDOMUIHost();
DCHECK(host_);