Backed out changeset 66dcf25705f9

This commit is contained in:
Chris Pearce 2010-08-20 10:47:24 +12:00
parent 86f1f98226
commit a868d8d046

View File

@ -3292,7 +3292,6 @@ nsEventStateManager::PostHandleEvent(nsPresContext* aPresContext,
//Reset target frame to null to avoid mistargeting after reentrant event
mCurrentTarget = nsnull;
mCurrentTargetContent = nsnull;
return ret;
}
@ -3612,7 +3611,6 @@ nsEventStateManager::DispatchMouseEvent(nsGUIEvent* aEvent, PRUint32 aMessage,
event.inputSource = static_cast<nsMouseEvent*>(aEvent)->inputSource;
mCurrentTargetContent = aTargetContent;
mCurrentTarget = nsnull;
nsIFrame* targetFrame = nsnull;
if (aTargetContent) {
@ -3629,7 +3627,6 @@ nsEventStateManager::DispatchMouseEvent(nsGUIEvent* aEvent, PRUint32 aMessage,
}
mCurrentTargetContent = nsnull;
mCurrentTarget = nsnull;
return targetFrame;
}
@ -3794,7 +3791,6 @@ nsEventStateManager::GenerateMouseEnterExit(nsGUIEvent* aEvent)
// reset mCurretTargetContent to what it was
mCurrentTargetContent = targetBeforeEvent;
mCurrentTarget = nsnull;
}
void