From f7a776d6319a6dc542af4d069c8cd8987af14375 Mon Sep 17 00:00:00 2001 From: Botond Ballo Date: Mon, 7 Oct 2019 22:01:52 +0000 Subject: [PATCH] Bug 1552608 - Remove the unused function APZCTreeManager::HitTestAPZC(). r=tnikkel Differential Revision: https://phabricator.services.mozilla.com/D48381 --HG-- extra : moz-landing-system : lando --- gfx/layers/apz/src/APZCTreeManager.cpp | 6 ------ gfx/layers/apz/src/APZCTreeManager.h | 5 ----- 2 files changed, 11 deletions(-) diff --git a/gfx/layers/apz/src/APZCTreeManager.cpp b/gfx/layers/apz/src/APZCTreeManager.cpp index a58b6ccb8055..599722a1e528 100644 --- a/gfx/layers/apz/src/APZCTreeManager.cpp +++ b/gfx/layers/apz/src/APZCTreeManager.cpp @@ -2527,12 +2527,6 @@ ParentLayerPoint APZCTreeManager::DispatchFling( return finalResidualVelocity; } -bool APZCTreeManager::HitTestAPZC(const ScreenIntPoint& aPoint) { - RefPtr target = - GetTargetAPZC(aPoint, nullptr, nullptr); - return target != nullptr; -} - already_AddRefed APZCTreeManager::GetTargetAPZC( const ScrollableLayerGuid& aGuid) { RecursiveMutexAutoLock lock(mTreeLock); diff --git a/gfx/layers/apz/src/APZCTreeManager.h b/gfx/layers/apz/src/APZCTreeManager.h index 7debefc4addd..3ce0906a3566 100644 --- a/gfx/layers/apz/src/APZCTreeManager.h +++ b/gfx/layers/apz/src/APZCTreeManager.h @@ -281,11 +281,6 @@ class APZCTreeManager : public IAPZCTreeManager, public APZInputBridge { */ void ClearTree(); - /** - * Tests if a screen point intersect an apz in the tree. - */ - bool HitTestAPZC(const ScreenIntPoint& aPoint); - /** * Sets the dpi value used by all AsyncPanZoomControllers attached to this * tree manager.