Fix code inside a phoenix ifdef. NPOB.

This commit is contained in:
hyatt%netscape.com 2002-10-08 19:07:29 +00:00
Родитель 82ccce91b1
Коммит 231f1c4a82
1 изменённых файлов: 7 добавлений и 4 удалений

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

@ -2901,8 +2901,10 @@ GlobalWindowImpl::CheckForAbusePoint ()
#ifdef MOZ_PHOENIX
// see the definition of the function for details.
if (!IsPopupWhitelisted(mDocument))
FirePopupBlockedEvent(mDocument);
PRBool whitelisted = IsPopupWhitelisted(mDocument);
if (!whitelisted)
FirePopupBlockedEvent(mDocument);
return !whitelisted;
#else
return PR_TRUE;
#endif
@ -2926,9 +2928,10 @@ GlobalWindowImpl::CheckForAbusePoint ()
#endif
#ifdef MOZ_PHOENIX
// see the definition of the function for details.
if (!IsPopupWhitelisted(mDocument))
PRBool whitelisted = IsPopupWhitelisted(mDocument);
if (!whitelisted)
FirePopupBlockedEvent(mDocument);
return !whitelisted;
#else
return PR_TRUE;
#endif