Bug 1069417 - Fix an error introduced when rebasing across bug 1021845 to reopen a CLOSED TREE. r=bustage

This commit is contained in:
Botond Ballo 2015-12-03 02:20:35 -05:00
parent ae1bdc7602
commit 79efe79201

View File

@ -254,8 +254,9 @@ LayerManagerComposite::PostProcessLayers(Layer* aLayer,
Matrix4x4 inverse = transform;
if (inverse.Invert()) {
Maybe<LayerRect> insideClipFloat =
UntransformTo<LayerPixel>(inverse, ParentLayerRect(*outsideClip),
LayerRect::MaxIntRect());
UntransformBy(ViewAs<ParentLayerToLayerMatrix4x4>(inverse),
ParentLayerRect(*outsideClip),
LayerRect::MaxIntRect());
if (insideClipFloat) {
insideClipFloat->RoundOut();
LayerIntRect insideClipInt;