зеркало из https://github.com/mozilla/gecko-dev.git
Bug 130078. Part 2. Remove widgets from all subframes. r=dbaron
This commit is contained in:
Родитель
92b91c9e1c
Коммит
92f4f71aa4
|
@ -966,15 +966,6 @@ nsSubDocumentFrame::CreateViewAndWidget(nsContentType aContentType)
|
|||
mInnerView = innerView;
|
||||
viewMan->InsertChild(outerView, innerView, nsnull, PR_TRUE);
|
||||
|
||||
if (aContentType == eContentTypeContent) {
|
||||
// widget needed.
|
||||
nsresult rv = innerView->CreateWidget(nsnull,
|
||||
PR_TRUE, PR_TRUE, aContentType);
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_WARNING("Couldn't create widget for frame.");
|
||||
mInnerView = nsnull;
|
||||
}
|
||||
}
|
||||
return mInnerView;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче