Bug 1069417 - Fix an error introduced when rebasing across bug 1021845 to reopen a CLOSED TREE. r=bustage
authorBotond Ballo <botond@mozilla.com>
Thu, 03 Dec 2015 02:20:35 -0500
changeset 309550 c0f3de2d37b4ef542f61aa5cabf16ac176b0aef1
parent 309549 1995fa8bbf43e1458f0fff9310cb0e8d919097c5
child 309551 85cf2e720a8405c43eabc9b34cce381b66d25ef9
child 309569 9fb2251cbb83fd32d1cc3087b9240fe2b19a1b6b
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1069417, 1021845
milestone45.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1069417 - Fix an error introduced when rebasing across bug 1021845 to reopen a CLOSED TREE. r=bustage
gfx/layers/composite/LayerManagerComposite.cpp
--- a/gfx/layers/composite/LayerManagerComposite.cpp
+++ b/gfx/layers/composite/LayerManagerComposite.cpp
@@ -249,18 +249,19 @@ LayerManagerComposite::PostProcessLayers
   // that it can later be intersected with our visible region.
   // If our transform is a perspective, there's no meaningful insideClip rect
   // we can compute (it would need to be a cone).
   Maybe<LayerIntRect> insideClip;
   if (outsideClip && !transform.HasPerspectiveComponent()) {
     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;
         if (insideClipFloat->ToIntRect(&insideClipInt)) {
           insideClip = Some(insideClipInt);
         }
       }
     }