mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1018416. Inline TransformRegion.
--HG-- rename : dom/datastore/tests/test_bug957086.html => dom/datastore/tests/test_basic.html extra : rebase_source : ab175afb006c0f6ebb02863f510b6fdc6e578f3c
This commit is contained in:
parent
1651d45e41
commit
ba774150e7
@ -69,14 +69,6 @@ AddRegion(nsIntRegion& aDest, const nsIntRegion& aSource)
|
||||
aDest.SimplifyOutward(20);
|
||||
}
|
||||
|
||||
|
||||
static nsIntRegion
|
||||
TransformRegion(nsIntRegion& aRegion, const gfx3DMatrix& aTransform)
|
||||
{
|
||||
aRegion.Transform(aTransform);
|
||||
return aRegion;
|
||||
}
|
||||
|
||||
/**
|
||||
* Walks over this layer, and all descendant layers.
|
||||
* If any of these are a ContainerLayer that reports invalidations to a PresShell,
|
||||
@ -325,7 +317,8 @@ struct ContainerLayerProperties : public LayerPropertiesBase
|
||||
|
||||
gfx3DMatrix transform;
|
||||
gfx::To3DMatrix(mLayer->GetTransform(), transform);
|
||||
return TransformRegion(result, transform);
|
||||
result.Transform(transform);
|
||||
return result;
|
||||
}
|
||||
|
||||
// The old list of children:
|
||||
|
Loading…
Reference in New Issue
Block a user