From 977ef592c83fc47ae40eb8d6f7009a26ed194576 Mon Sep 17 00:00:00 2001 From: Botond Ballo Date: Sat, 6 Nov 2021 05:21:07 +0000 Subject: [PATCH] Bug 1739754 - Remove vestiges of class KeyboardScrollAnimation which no longer exists. r=tnikkel Depends on D130532 Differential Revision: https://phabricator.services.mozilla.com/D130533 --- gfx/layers/apz/src/AsyncPanZoomAnimation.h | 4 ---- gfx/layers/apz/src/AsyncPanZoomController.h | 1 - 2 files changed, 5 deletions(-) diff --git a/gfx/layers/apz/src/AsyncPanZoomAnimation.h b/gfx/layers/apz/src/AsyncPanZoomAnimation.h index 3b7d22110433..575e1b68e532 100644 --- a/gfx/layers/apz/src/AsyncPanZoomAnimation.h +++ b/gfx/layers/apz/src/AsyncPanZoomAnimation.h @@ -20,7 +20,6 @@ namespace layers { struct FrameMetrics; class WheelScrollAnimation; -class KeyboardScrollAnimation; class OverscrollAnimation; class SmoothMsdScrollAnimation; class SmoothScrollAnimation; @@ -71,9 +70,6 @@ class AsyncPanZoomAnimation { return std::move(mDeferredTasks); } - virtual KeyboardScrollAnimation* AsKeyboardScrollAnimation() { - return nullptr; - } virtual WheelScrollAnimation* AsWheelScrollAnimation() { return nullptr; } virtual SmoothMsdScrollAnimation* AsSmoothMsdScrollAnimation() { return nullptr; diff --git a/gfx/layers/apz/src/AsyncPanZoomController.h b/gfx/layers/apz/src/AsyncPanZoomController.h index 665335c45454..e35fbaf1f17a 100644 --- a/gfx/layers/apz/src/AsyncPanZoomController.h +++ b/gfx/layers/apz/src/AsyncPanZoomController.h @@ -1448,7 +1448,6 @@ class AsyncPanZoomController { friend class SmoothMsdScrollAnimation; friend class GenericScrollAnimation; friend class WheelScrollAnimation; - friend class KeyboardScrollAnimation; friend class ZoomAnimation; friend class GenericOverscrollEffect;