Backing out v1.130 of this file since it caused crasher bug 120237. rs=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114112 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user