mshtml: Set the SETUP_IS_CHROME_WRAPPER to FALSE as the embedded Gecko is always used to display content and not chrome.

oldstable
Robert Shearman 2007-10-10 13:15:21 +02:00 committed by Alexandre Julliard
parent afb8f6257b
commit 836cdb88ce
1 changed files with 1 additions and 1 deletions

View File

@ -1537,7 +1537,7 @@ NSContainer *NSContainer_Create(HTMLDocument *doc, NSContainer *parent)
nsres = nsIWebBrowser_QueryInterface(ret->webbrowser, &IID_nsIWebBrowserSetup,
(void**)&wbsetup);
if(NS_SUCCEEDED(nsres)) {
nsres = nsIWebBrowserSetup_SetProperty(wbsetup, SETUP_IS_CHROME_WRAPPER, TRUE);
nsres = nsIWebBrowserSetup_SetProperty(wbsetup, SETUP_IS_CHROME_WRAPPER, FALSE);
nsIWebBrowserSetup_Release(wbsetup);
if(NS_FAILED(nsres))
ERR("SetProperty(SETUP_IS_CHROME_WRAPPER) failed: %08x\n", nsres);