Bug 936005 - Allow chrome to cancel gesture recognition with preventDefault [r=jimm]

This commit is contained in:
Matt Brubeck 2013-11-07 13:13:24 -08:00
parent 4e115c6825
commit 701f495717

View File

@ -446,10 +446,6 @@ MetroInput::InitTouchEventTouchList(WidgetTouchEvent* aEvent)
bool
MetroInput::ShouldDeliverInputToRecognizer()
{
// If the event is destined for chrome deliver all events to the recognizer.
if (mChromeHitTestCacheForTouch) {
return true;
}
return mRecognizerWantsEvents;
}