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 fbba7c558a
commit af4c957798

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;