зеркало из 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)
|
GetEventRegions(const LayerMetricsWrapper& aLayer)
|
||||||
{
|
{
|
||||||
if (aLayer.IsScrollInfoLayer()) {
|
if (aLayer.IsScrollInfoLayer()) {
|
||||||
ParentLayerIntRect compositionBounds(RoundedToInt(aLayer.Metrics().GetCompositionBounds()));
|
return EventRegions(nsIntRegion(ParentLayerIntRect::ToUntyped(
|
||||||
nsIntRegion hitRegion(ParentLayerIntRect::ToUntyped(compositionBounds));
|
RoundedToInt(aLayer.Metrics().GetCompositionBounds()))));
|
||||||
EventRegions eventRegions(hitRegion);
|
|
||||||
eventRegions.mDispatchToContentHitRegion = eventRegions.mHitRegion;
|
|
||||||
return eventRegions;
|
|
||||||
}
|
}
|
||||||
return aLayer.GetEventRegions();
|
return aLayer.GetEventRegions();
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче