Bug 1346166 - Set isHandlingUserInput = true when dispatching pointerdown and pointerup. r=smaug

This commit is contained in:
Stone Shih
2017-03-11 14:10:52 +08:00
parent 5338d1514d
commit f676b67d9c

View File

@@ -8071,6 +8071,8 @@ PresShell::HandleEventInternal(WidgetEvent* aEvent,
}
case eMouseDown:
case eMouseUp:
case ePointerDown:
case ePointerUp:
isHandlingUserInput = true;
mPresContext->RecordInteractionTime(
nsPresContext::InteractionType::eClickInteraction,