зеркало из https://github.com/mozilla/gecko-dev.git
remove bogus call to nsIAppShell->GetNativeData since it isn't used r=shaver (for the entire checkin)
This commit is contained in:
Родитель
d85fdda346
Коммит
b3d403e8eb
|
@ -938,10 +938,6 @@ nsresult nsWidget::CreateWidget(nsIWidget *aParent,
|
||||||
} else if (aParent) {
|
} else if (aParent) {
|
||||||
// this ups the refcount of the gtk widget, we must unref later.
|
// this ups the refcount of the gtk widget, we must unref later.
|
||||||
parentWidget = GTK_WIDGET(aParent->GetNativeData(NS_NATIVE_WIDGET));
|
parentWidget = GTK_WIDGET(aParent->GetNativeData(NS_NATIVE_WIDGET));
|
||||||
} else if(aAppShell) {
|
|
||||||
nsNativeWidget shellWidget = aAppShell->GetNativeData(NS_NATIVE_SHELL);
|
|
||||||
if (shellWidget)
|
|
||||||
parentWidget = GTK_WIDGET(shellWidget);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mBounds = aRect;
|
mBounds = aRect;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче