Bug 381993: Crash [@ nsDOMMouseEvent::GetClientX] with mousemove generating and removing stuff. r=smaug, sr=roc.

This commit is contained in:
sharparrow1@yahoo.com 2007-05-28 21:56:16 -07:00
parent 3ff40e3822
commit ea2a949931

View File

@ -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;