Bug 1220853 - Notify wheel transaction of mouse move when using async dragging. r=kats

--HG--
extra : commitid : Aw8xxcgcHKF
This commit is contained in:
Benoit Girard 2015-11-03 14:21:35 -05:00
parent 91c354b0d4
commit 0f1d97ed61

View File

@ -1051,6 +1051,11 @@ APZCTreeManager::ProcessMouseEvent(WidgetMouseEventBase& aEvent,
ScrollableLayerGuid* aOutTargetGuid,
uint64_t* aOutInputBlockId)
{
MOZ_ASSERT(NS_IsMainThread());
// Note, we call this before having transformed the reference point.
UpdateWheelTransaction(aEvent);
MouseInput input(aEvent);
input.mOrigin = ScreenPoint(aEvent.refPoint.x, aEvent.refPoint.y);