mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1013432 - Followup to fix rebase error. r=me
This commit is contained in:
parent
c279dae2f5
commit
6493f3f028
@ -178,6 +178,7 @@ InputQueue::CancelAnimationsForNewBlock(CancelableBlockState* aBlock)
|
||||
// and to disallow the touch event from being used as part of a fling.
|
||||
if (TouchBlockState* touch = aBlock->AsTouchBlock()) {
|
||||
touch->SetDuringFastMotion();
|
||||
INPQ_LOG("block %p tagged as fast-motion\n", touch);
|
||||
}
|
||||
}
|
||||
aBlock->GetOverscrollHandoffChain()->CancelAnimations();
|
||||
@ -192,6 +193,10 @@ InputQueue::MaybeRequestContentResponse(const nsRefPtr<AsyncPanZoomController>&
|
||||
if (!gfxPrefs::LayoutEventRegionsEnabled()) {
|
||||
waitForMainThread |= aTarget->NeedToWaitForContent();
|
||||
}
|
||||
if (aBlock->AsTouchBlock() && aBlock->AsTouchBlock()->IsDuringFastMotion()) {
|
||||
aBlock->SetConfirmedTargetApzc(aTarget);
|
||||
waitForMainThread = false;
|
||||
}
|
||||
|
||||
if (waitForMainThread) {
|
||||
// We either don't know for sure if aTarget is the right APZC, or we may
|
||||
|
Loading…
Reference in New Issue
Block a user