mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 381993: Crash [@ nsDOMMouseEvent::GetClientX] with mousemove generating and removing stuff. r=smaug, sr=roc.
This commit is contained in:
parent
3ff40e3822
commit
ea2a949931
@ -50,7 +50,6 @@
|
||||
|
||||
#include "nsIFrame.h"
|
||||
#include "nsIWidget.h"
|
||||
#include "nsIView.h"
|
||||
#include "nsGUIEvent.h"
|
||||
|
||||
#ifdef MOZ_ENABLE_GTK2
|
||||
@ -175,7 +174,7 @@ nsDOMWindowUtils::SendMouseEvent(const nsAString& aType,
|
||||
return NS_ERROR_DOM_SECURITY_ERR;
|
||||
|
||||
// get the widget to send the event to
|
||||
nsIWidget* widget = GetWidget();
|
||||
nsCOMPtr<nsIWidget> widget = GetWidget();
|
||||
if (!widget)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user