зеркало из https://github.com/mozilla/gecko-dev.git
Bug 589634 - Don't create a sub-widget for decks. r=roc, a=roc
This commit is contained in:
Родитель
2441967f84
Коммит
c88cd4e26c
|
@ -292,11 +292,6 @@ nsSubDocumentFrame::Init(nsIContent* aContent,
|
|||
}
|
||||
nsIView* view = GetView();
|
||||
|
||||
if (aParent->GetStyleDisplay()->mDisplay == NS_STYLE_DISPLAY_DECK
|
||||
&& !view->HasWidget()) {
|
||||
view->CreateWidget();
|
||||
}
|
||||
|
||||
// Set the primary frame now so that
|
||||
// DocumentViewerImpl::FindContainerView called by ShowViewer below
|
||||
// can find it if necessary.
|
||||
|
|
Загрузка…
Ссылка в новой задаче