зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1711633
- Avoid calling InputQueue::ReceiveInputEvent() with a null APZC. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D116060
This commit is contained in:
Родитель
9ddb7f9601
Коммит
1a9c35dbc8
|
@ -1660,7 +1660,7 @@ APZEventResult APZCTreeManager::ReceiveInputEvent(InputData& aEvent) {
|
|||
panInput.mHandledByAPZ = WillHandleInput(panInput);
|
||||
if (!panInput.mHandledByAPZ) {
|
||||
if (InputBlockState* block = mInputQueue->GetCurrentPanGestureBlock()) {
|
||||
if (block &&
|
||||
if (state.mHit.mTargetApzc &&
|
||||
(panInput.mType == PanGestureInput::PANGESTURE_END ||
|
||||
panInput.mType == PanGestureInput::PANGESTURE_CANCELLED)) {
|
||||
// If we've already been processing a pan gesture in an APZC but
|
||||
|
|
Загрузка…
Ссылка в новой задаче