mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 549691 - Null pointer dereference in nsChildView.mm's [ChildView mouseUp:]. r=josh
This commit is contained in:
parent
2c3e543d1d
commit
083ad5b6e6
@ -3086,12 +3086,13 @@ static BOOL DrawingAtWindowTop(CGContextRef aContext)
|
||||
}
|
||||
}
|
||||
|
||||
// This might destroy our widget (and null out mGeckoChild).
|
||||
mGeckoChild->DispatchWindowEvent(geckoEvent);
|
||||
|
||||
// If our mouse-up event's location is over some other object (as might
|
||||
// happen if it came at the end of a dragging operation), also send our
|
||||
// Gecko frame a mouse-exit event.
|
||||
if (mIsPluginView) {
|
||||
if (mGeckoChild && mIsPluginView) {
|
||||
#ifndef NP_NO_CARBON
|
||||
if (mPluginEventModel == NPEventModelCocoa)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user