зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
9649f2e747
Коммит
f7a776d631
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче