mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1761872 - Remove APZSampler::GetGeckoFixedLayerMargins(). r=hiro
APZCTreeManager::GetGeckoFixedLayerMargins() is also removed, but the field mGeckoFixedLayerMargins is kept as it's used internally in WebRender codepaths. Differential Revision: https://phabricator.services.mozilla.com/D142292
This commit is contained in:
parent
ee733433df
commit
644d1c7d9d
@ -82,8 +82,6 @@ class APZSampler {
|
||||
const LayersId& aLayersId,
|
||||
const ScrollableLayerGuid::ViewID& aScrollId) const;
|
||||
|
||||
ScreenMargin GetGeckoFixedLayerMargins() const;
|
||||
|
||||
/**
|
||||
* This can be used to assert that the current thread is the
|
||||
* sampler thread (which samples the async transform).
|
||||
|
@ -2941,11 +2941,6 @@ already_AddRefed<AsyncPanZoomController> APZCTreeManager::FindZoomableApzc(
|
||||
return GetZoomableTarget(aStart, aStart);
|
||||
}
|
||||
|
||||
ScreenMargin APZCTreeManager::GetGeckoFixedLayerMargins() const {
|
||||
RecursiveMutexAutoLock lock(mTreeLock);
|
||||
return mGeckoFixedLayerMargins;
|
||||
}
|
||||
|
||||
ScreenMargin APZCTreeManager::GetCompositorFixedLayerMargins() const {
|
||||
RecursiveMutexAutoLock lock(mTreeLock);
|
||||
return mCompositorFixedLayerMargins;
|
||||
|
@ -558,8 +558,6 @@ class APZCTreeManager : public IAPZCTreeManager, public APZInputBridge {
|
||||
already_AddRefed<AsyncPanZoomController> FindZoomableApzc(
|
||||
AsyncPanZoomController* aStart) const;
|
||||
|
||||
ScreenMargin GetGeckoFixedLayerMargins() const;
|
||||
|
||||
ScreenMargin GetCompositorFixedLayerMargins() const;
|
||||
|
||||
APZScrollGeneration NewAPZScrollGeneration() {
|
||||
|
@ -122,13 +122,6 @@ AsyncTransform APZSampler::GetCurrentAsyncTransform(
|
||||
aComponents);
|
||||
}
|
||||
|
||||
ScreenMargin APZSampler::GetGeckoFixedLayerMargins() const {
|
||||
MOZ_ASSERT(CompositorThreadHolder::IsInCompositorThread());
|
||||
AssertOnSamplerThread();
|
||||
|
||||
return mApz->GetGeckoFixedLayerMargins();
|
||||
}
|
||||
|
||||
ParentLayerRect APZSampler::GetCompositionBounds(
|
||||
const LayersId& aLayersId,
|
||||
const ScrollableLayerGuid::ViewID& aScrollId) const {
|
||||
|
Loading…
Reference in New Issue
Block a user