This commit is contained in:
rpotts%netscape.com 1998-10-21 23:33:52 +00:00
Родитель d5bab4dea9
Коммит 05058348f9
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -555,6 +555,7 @@ nsWebShell::Init(nsNativeWidget aNativeParent,
//be associated with the nsIContentViewerContainer interfaces,
//not the nsIWebShell interfaces. this is a hack. MMP
nsRect aBounds(x,y,w,h);
nsWidgetInitData widgetInit;
CreatePluginHost(aAllowPlugins);
@ -617,7 +618,6 @@ nsWebShell::Init(nsNativeWidget aNativeParent,
goto done;
}
nsWidgetInitData widgetInit;
widgetInit.clipChildren = PR_FALSE;
mWindow->Create(aNativeParent, aBounds, nsWebShell::HandleEvent,
mDeviceContext, nsnull, nsnull, &widgetInit);

Просмотреть файл

@ -555,6 +555,7 @@ nsWebShell::Init(nsNativeWidget aNativeParent,
//be associated with the nsIContentViewerContainer interfaces,
//not the nsIWebShell interfaces. this is a hack. MMP
nsRect aBounds(x,y,w,h);
nsWidgetInitData widgetInit;
CreatePluginHost(aAllowPlugins);
@ -617,7 +618,6 @@ nsWebShell::Init(nsNativeWidget aNativeParent,
goto done;
}
nsWidgetInitData widgetInit;
widgetInit.clipChildren = PR_FALSE;
mWindow->Create(aNativeParent, aBounds, nsWebShell::HandleEvent,
mDeviceContext, nsnull, nsnull, &widgetInit);