From 325ff88aecfd0b14ee2b69c6d5eb0e0ed7764cf9 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Mon, 17 Nov 2008 21:29:15 +0000 Subject: Rollback! Now with 25% more HWND. :-/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5573 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/dom_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/views') diff --git a/chrome/browser/views/dom_view.cc b/chrome/browser/views/dom_view.cc index ba74fac..ebb63e3 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, profile, - instance); + TabContents* tab_contents = TabContents::CreateWithType(type, + GetContainer()->GetHWND(), profile, instance); host_ = tab_contents->AsDOMUIHost(); DCHECK(host_); -- cgit v1.1