зеркало из https://github.com/mozilla/pjs.git
Bug 579621. Don't create widgets for chrome subdocuments of chrome windows. r=tnikkel, a=blocker
--HG-- extra : rebase_source : 669b45a017fd52aa8106b98f6f8dd2d5ed846d4e
This commit is contained in:
Родитель
1b998ad55f
Коммит
0039d77585
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче