Fixed build bustage...

This commit is contained in:
rpotts@netscape.com
1998-10-21 23:33:52 +00:00
parent b41c36484c
commit dad483f15f
2 changed files with 2 additions and 2 deletions

View File

@@ -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);