Bug 1105836 - Automatically confirm the target APZC for an input block that arrives during fast-motion. r=botond

This commit is contained in:
Kartikaya Gupta 2014-11-28 12:25:41 -05:00
parent 8050e8e61a
commit 1f58b3cb37

View File

@ -70,6 +70,7 @@ InputQueue::ReceiveInputEvent(const nsRefPtr<AsyncPanZoomController>& aTarget,
waitForMainThread |= aTarget->NeedToWaitForContent();
}
if (block->IsDuringFastMotion()) {
block->SetConfirmedTargetApzc(aTarget);
waitForMainThread = false;
}
if (waitForMainThread) {