Bug 1132592 - Avoid showing PluginWidgetParent widgets before they are positioned and clipped. r=aklotz

This commit is contained in:
Jim Mathies
2015-02-13 12:27:56 -06:00
parent a5ac6dd4d1
commit dd9c53e608
2 changed files with 7 additions and 9 deletions

View File

@@ -152,10 +152,6 @@ PluginWidgetParent::RecvCreate(nsresult* aResult)
DebugOnly<nsresult> drv;
drv = mWidget->EnableDragDrop(true);
NS_ASSERTION(NS_SUCCEEDED(drv), "widget call failure");
drv = mWidget->Show(true);
NS_ASSERTION(NS_SUCCEEDED(drv), "widget call failure");
drv = mWidget->Enable(true);
NS_ASSERTION(NS_SUCCEEDED(drv), "widget call failure");
#if defined(MOZ_WIDGET_GTK)
// For setup, initially GTK code expects 'window' to hold the parent.