mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1270165 - Allow ResetTouchInputState to be called while a non-touch block is the current block. r=botond
MozReview-Commit-ID: HN3G249raKW --HG-- extra : rebase_source : 490a634671f218139b88efb079f72e252577e88f
This commit is contained in:
parent
06c9d50f99
commit
b345ce3a32
@ -3760,7 +3760,7 @@ AsyncPanZoomController::ResetTouchInputState()
|
||||
CancelAnimationAndGestureState();
|
||||
// Clear overscroll along the entire handoff chain, in case an APZC
|
||||
// later in the chain is overscrolled.
|
||||
if (TouchBlockState* block = CurrentTouchBlock()) {
|
||||
if (TouchBlockState* block = CurrentInputBlock()->AsTouchBlock()) {
|
||||
block->GetOverscrollHandoffChain()->ClearOverscroll();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user