Backing out v1.130 of this file since it caused crasher bug 120237. rs=hewitt@netscape.com

This commit is contained in:
jst%netscape.com 2002-02-09 01:49:25 +00:00
Родитель f5407caa43
Коммит 95e6653142
1 изменённых файлов: 2 добавлений и 6 удалений

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

@ -647,9 +647,7 @@ NS_METHOD nsDOMEvent::GetScreenY(PRInt32* aScreenY)
NS_METHOD nsDOMEvent::GetClientX(PRInt32* aClientX)
{
if (!mEvent ||
(mEvent->eventStructType != NS_MOUSE_EVENT
&& mEvent->eventStructType != NS_EVENT
&& mEvent->eventStructType != NS_DRAGDROP_EVENT) ||
(mEvent->eventStructType != NS_MOUSE_EVENT && mEvent->eventStructType != NS_DRAGDROP_EVENT) ||
!mPresContext) {
*aClientX = 0;
return NS_OK;
@ -700,9 +698,7 @@ NS_METHOD nsDOMEvent::GetClientX(PRInt32* aClientX)
NS_METHOD nsDOMEvent::GetClientY(PRInt32* aClientY)
{
if (!mEvent ||
(mEvent->eventStructType != NS_MOUSE_EVENT
&& mEvent->eventStructType != NS_EVENT
&& mEvent->eventStructType != NS_DRAGDROP_EVENT) ||
(mEvent->eventStructType != NS_MOUSE_EVENT && mEvent->eventStructType != NS_DRAGDROP_EVENT) ||
!mPresContext) {
*aClientY = 0;
return NS_OK;