Bug 917702 - Unexpected Mouse Coordinate Return when MouseEnter or MouseExit Event Fired. r=spohl

This commit is contained in:
Steven Michaud 2013-09-30 12:05:48 -05:00
parent 0886bc35ee
commit 97c142783e

View File

@ -6158,10 +6158,12 @@ ChildViewMouseTracker::AttachPluginEvent(nsMouseEvent_base& aMouseEvent,
// ("fix 0.3") of the patch for bug 435041 ("Implement Cocoa NPAPI event
// model for Mac OS X"). But there's no trace of it in the WebKit code that
// was used as a model for much of that patch.
#if (0)
if (type == NPCocoaEventMouseEntered ||
type == NPCocoaEventMouseExited) {
point.x = point.y = 5;
}
#endif
NSUInteger clickCount = 0;
if (type != NPCocoaEventMouseEntered &&
type != NPCocoaEventMouseExited &&