mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1552608 - Make APZCTreeManager::GetTargetAPZC(layersId, scrollId) const. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D48377 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
7b097cc92f
commit
194efdc5a5
@ -2548,7 +2548,8 @@ static bool GuidComparatorIgnoringPresShell(const ScrollableLayerGuid& aOne,
|
||||
}
|
||||
|
||||
already_AddRefed<AsyncPanZoomController> APZCTreeManager::GetTargetAPZC(
|
||||
const LayersId& aLayersId, const ScrollableLayerGuid::ViewID& aScrollId) {
|
||||
const LayersId& aLayersId,
|
||||
const ScrollableLayerGuid::ViewID& aScrollId) const {
|
||||
MutexAutoLock lock(mMapLock);
|
||||
ScrollableLayerGuid guid(aLayersId, 0, aScrollId);
|
||||
auto it = mApzcMap.find(guid);
|
||||
|
@ -566,7 +566,8 @@ class APZCTreeManager : public IAPZCTreeManager, public APZInputBridge {
|
||||
LayersId* aOutLayersId,
|
||||
HitTestingTreeNodeAutoLock* aOutScrollbarNode = nullptr);
|
||||
already_AddRefed<AsyncPanZoomController> GetTargetAPZC(
|
||||
const LayersId& aLayersId, const ScrollableLayerGuid::ViewID& aScrollId);
|
||||
const LayersId& aLayersId,
|
||||
const ScrollableLayerGuid::ViewID& aScrollId) const;
|
||||
ScreenToParentLayerMatrix4x4 GetScreenToApzcTransform(
|
||||
const AsyncPanZoomController* aApzc) const;
|
||||
ParentLayerToScreenMatrix4x4 GetApzcToGeckoTransform(
|
||||
|
Loading…
Reference in New Issue
Block a user