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:
Jeff Muizelaar 2014-06-02 11:05:01 -04:00
parent 1651d45e41
commit ba774150e7

View File

@ -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: