mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
Bug 1105295 - Stop using scrollinfo layers when event regions are enabled. r=botond
This commit is contained in:
parent
1be59bd1ec
commit
9ad226a883
@ -246,6 +246,9 @@ APZCTreeManager::PrepareAPZCForLayer(const LayerMetricsWrapper& aLayer,
|
||||
if (!aMetrics.IsScrollable()) {
|
||||
return nullptr;
|
||||
}
|
||||
if (gfxPrefs::LayoutEventRegionsEnabled() && aLayer.IsScrollInfoLayer()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
const CompositorParent::LayerTreeState* state = CompositorParent::GetIndirectShadowTree(aLayersId);
|
||||
if (!(state && state->mController.get())) {
|
||||
|
Loading…
Reference in New Issue
Block a user