Fix for 99324 -- initializing variables, patch by mhammond@skippinet.com.au, r=av, sr=beard, a=scc

git-svn-id: svn://10.0.0.236/trunk@117149 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
av%netscape.com
2002-03-22 04:19:10 +00:00
parent e7c3885f41
commit 6c3a42c78c
2 changed files with 6 additions and 6 deletions

View File

@@ -1618,7 +1618,7 @@ nsObjectFrame::Paint(nsIPresContext* aPresContext,
npprint.mode = nsPluginMode_Embedded;
// we need to find out if we are windowless or not
PRBool windowless;
PRBool windowless = PR_FALSE;
pi->GetValue(nsPluginInstanceVariable_WindowlessBool, (void *)&windowless);
window.type = windowless ? nsPluginWindowType_Drawable : nsPluginWindowType_Window;
@@ -3573,7 +3573,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::CreateWidget(void)
if (nsnull == view || nsnull == mWidget)
{
PRBool windowless;
PRBool windowless = PR_FALSE;
mInstance->GetValue(nsPluginInstanceVariable_WindowlessBool, (void *)&windowless);
@@ -3589,7 +3589,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::CreateWidget(void)
if (view)
{
view->GetWidget(mWidget);
PRBool fTransparent;
PRBool fTransparent = PR_FALSE;
mInstance->GetValue(nsPluginInstanceVariable_TransparentBool, (void *)&fTransparent);
nsCOMPtr<nsIViewManager> vm;

View File

@@ -1618,7 +1618,7 @@ nsObjectFrame::Paint(nsIPresContext* aPresContext,
npprint.mode = nsPluginMode_Embedded;
// we need to find out if we are windowless or not
PRBool windowless;
PRBool windowless = PR_FALSE;
pi->GetValue(nsPluginInstanceVariable_WindowlessBool, (void *)&windowless);
window.type = windowless ? nsPluginWindowType_Drawable : nsPluginWindowType_Window;
@@ -3573,7 +3573,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::CreateWidget(void)
if (nsnull == view || nsnull == mWidget)
{
PRBool windowless;
PRBool windowless = PR_FALSE;
mInstance->GetValue(nsPluginInstanceVariable_WindowlessBool, (void *)&windowless);
@@ -3589,7 +3589,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::CreateWidget(void)
if (view)
{
view->GetWidget(mWidget);
PRBool fTransparent;
PRBool fTransparent = PR_FALSE;
mInstance->GetValue(nsPluginInstanceVariable_TransparentBool, (void *)&fTransparent);
nsCOMPtr<nsIViewManager> vm;