From 46c68e910eafa308de993c408e77c3fba5f60ae1 Mon Sep 17 00:00:00 2001 From: "rpotts%netscape.com" Date: Wed, 21 Oct 1998 23:33:52 +0000 Subject: [PATCH] Fixed build bustage... git-svn-id: svn://10.0.0.236/trunk@13288 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsWebShell.cpp | 2 +- mozilla/webshell/src/nsWebShell.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 593c7e0bd9d..589d2413aea 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -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); diff --git a/mozilla/webshell/src/nsWebShell.cpp b/mozilla/webshell/src/nsWebShell.cpp index 593c7e0bd9d..589d2413aea 100644 --- a/mozilla/webshell/src/nsWebShell.cpp +++ b/mozilla/webshell/src/nsWebShell.cpp @@ -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);