Bug 1552608 - Remove the unused function APZCTreeManager::HitTestAPZC(). r=tnikkel

Differential Revision: https://phabricator.services.mozilla.com/D48381

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Botond Ballo 2019-10-07 22:01:52 +00:00
Родитель 9649f2e747
Коммит f7a776d631
2 изменённых файлов: 0 добавлений и 11 удалений

Просмотреть файл

@ -2527,12 +2527,6 @@ ParentLayerPoint APZCTreeManager::DispatchFling(
return finalResidualVelocity;
}
bool APZCTreeManager::HitTestAPZC(const ScreenIntPoint& aPoint) {
RefPtr<AsyncPanZoomController> target =
GetTargetAPZC(aPoint, nullptr, nullptr);
return target != nullptr;
}
already_AddRefed<AsyncPanZoomController> APZCTreeManager::GetTargetAPZC(
const ScrollableLayerGuid& aGuid) {
RecursiveMutexAutoLock lock(mTreeLock);

Просмотреть файл

@ -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.