Bug 1062438 Hamachi asserting on unknown touch type. r=mwu

This commit is contained in:
Mason Chang 2014-09-03 11:00:56 -07:00
parent 9be22b97bc
commit 370464c663

View File

@ -705,6 +705,11 @@ GeckoInputDispatcher::notifyMotion(const NotifyMotionArgs* args)
case AMOTION_EVENT_ACTION_CANCEL:
touchType = MultiTouchInput::MULTITOUCH_CANCEL;
break;
case AMOTION_EVENT_ACTION_HOVER_EXIT:
case AMOTION_EVENT_ACTION_HOVER_ENTER:
case AMOTION_EVENT_ACTION_HOVER_MOVE:
NS_WARNING("Ignoring hover touch events");
return;
default:
MOZ_ASSERT_UNREACHABLE("Could not assign a touch type");
break;