Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug
This commit is contained in:
@@ -563,8 +563,7 @@ nsNumberControlFrame::GetNumberControlFrameForSpinButton(nsIFrame* aFrame)
|
||||
int32_t
|
||||
nsNumberControlFrame::GetSpinButtonForPointerEvent(WidgetGUIEvent* aEvent) const
|
||||
{
|
||||
MOZ_ASSERT(aEvent->eventStructType == NS_MOUSE_EVENT,
|
||||
"Unexpected event type");
|
||||
MOZ_ASSERT(aEvent->mClass == NS_MOUSE_EVENT, "Unexpected event type");
|
||||
|
||||
if (!mSpinBox) {
|
||||
// we don't have a spinner
|
||||
|
||||
Reference in New Issue
Block a user