summaryrefslogtreecommitdiff
path: root/gfx/layers/apz/public/IAPZCTreeManager.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-09-08 16:50:40 +0000
committerMoonchild <moonchild@palemoon.org>2022-09-08 16:50:40 +0000
commit00c5c3e7c2ed8b627fe1af2496945b583ea8d29a (patch)
treedb89a071c364318fa6c2007917715623d8d5fdec /gfx/layers/apz/public/IAPZCTreeManager.cpp
parentb8cebb4993a27b3aaaa08550c6ae4f20cdca8819 (diff)
downloaduxp-00c5c3e7c2ed8b627fe1af2496945b583ea8d29a.tar.gz
Re-unify most of gfxre-unify
Diffstat (limited to 'gfx/layers/apz/public/IAPZCTreeManager.cpp')
-rw-r--r--gfx/layers/apz/public/IAPZCTreeManager.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/gfx/layers/apz/public/IAPZCTreeManager.cpp b/gfx/layers/apz/public/IAPZCTreeManager.cpp
index f60cb9c87f..9b4e746e5d 100644
--- a/gfx/layers/apz/public/IAPZCTreeManager.cpp
+++ b/gfx/layers/apz/public/IAPZCTreeManager.cpp
@@ -9,21 +9,11 @@
#include "InputData.h" // for InputData, etc
#include "mozilla/EventStateManager.h" // for WheelPrefs
#include "mozilla/layers/APZThreadUtils.h" // for AssertOnCompositorThread, etc
-#include "mozilla/MouseEvents.h" // for WidgetMouseEvent
#include "mozilla/TouchEvents.h" // for WidgetTouchEvent
namespace mozilla {
namespace layers {
-static bool
-WillHandleMouseEvent(const WidgetMouseEventBase& aEvent)
-{
- return aEvent.mMessage == eMouseMove ||
- aEvent.mMessage == eMouseDown ||
- aEvent.mMessage == eMouseUp ||
- aEvent.mMessage == eDragEnd;
-}
-
// Returns whether or not a wheel event action will be (or was) performed by
// APZ. If this returns true, the event must not perform a synchronous
// scroll.