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

This commit is contained in:
av%netscape.com 2002-03-22 04:19:10 +00:00
Родитель d9e7aab696
Коммит f7a394d104
2 изменённых файлов: 6 добавлений и 6 удалений

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

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

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

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