mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 579621. Don't create widgets for chrome subdocuments of chrome windows. r=tnikkel
This commit is contained in:
parent
7e149ba847
commit
07ca177c02
@ -965,7 +965,7 @@ nsSubDocumentFrame::CreateViewAndWidget(nsContentType aContentType)
|
||||
mInnerView = innerView;
|
||||
viewMan->InsertChild(outerView, innerView, nsnull, PR_TRUE);
|
||||
|
||||
if (aContentType != eContentTypeContentFrame) {
|
||||
if (aContentType == eContentTypeContent) {
|
||||
// widget needed.
|
||||
nsresult rv = innerView->CreateWidget(kCChildCID, nsnull, nsnull,
|
||||
PR_TRUE, PR_TRUE, aContentType);
|
||||
|
Loading…
Reference in New Issue
Block a user