зеркало из https://github.com/mozilla/gecko-dev.git
Backout changeset b5e6116756b6 (wrong bug number).
This commit is contained in:
Родитель
e4cb588c20
Коммит
4c72778d2c
|
@ -272,11 +272,8 @@ static EventRegions
|
|||
GetEventRegions(const LayerMetricsWrapper& aLayer)
|
||||
{
|
||||
if (aLayer.IsScrollInfoLayer()) {
|
||||
ParentLayerIntRect compositionBounds(RoundedToInt(aLayer.Metrics().GetCompositionBounds()));
|
||||
nsIntRegion hitRegion(ParentLayerIntRect::ToUntyped(compositionBounds));
|
||||
EventRegions eventRegions(hitRegion);
|
||||
eventRegions.mDispatchToContentHitRegion = eventRegions.mHitRegion;
|
||||
return eventRegions;
|
||||
return EventRegions(nsIntRegion(ParentLayerIntRect::ToUntyped(
|
||||
RoundedToInt(aLayer.Metrics().GetCompositionBounds()))));
|
||||
}
|
||||
return aLayer.GetEventRegions();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче