Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug

This commit is contained in:
Masayuki Nakano
2014-08-04 14:28:46 +09:00
parent 75c61b0a15
commit 5dac7e446a
49 changed files with 245 additions and 236 deletions

View File

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