Bug 1110229 - bustage fix on a CLOSED TREE
authorBenoit Girard <b56girard@gmail.com>
Thu, 08 Jan 2015 11:53:03 -0500
changeset 248620 6698118c0b5466df4b73831ddc836da610937f32
parent 248619 9cb763be208ea0a6fe5e6a841e9fc8e6a344ef28
child 248621 f8d73ad47da07ffc28e35a10eab8890926bea419
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1110229
milestone37.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 1110229 - bustage fix on a CLOSED TREE
gfx/layers/client/TiledContentClient.cpp
--- a/gfx/layers/client/TiledContentClient.cpp
+++ b/gfx/layers/client/TiledContentClient.cpp
@@ -1484,17 +1484,17 @@ ClientTiledLayerBuffer::ComputeProgressi
   int32_t scrollDiffX = aPaintData->mScrollOffset.x - aPaintData->mLastScrollOffset.x;
   int32_t scrollDiffY = aPaintData->mScrollOffset.y - aPaintData->mLastScrollOffset.y;
   // This loop will always terminate, as there is at least one tile area
   // along the first/last row/column intersecting with regionToPaint, or its
   // bounds would have been smaller.
   while (true) {
     aRegionToPaint.And(aInvalidRegion, tileBounds);
     if (!aRegionToPaint.IsEmpty()) {
-      if (mResolution != CSSToParentLayerScale(1)) {
+      if (mResolution != 1) {
         // Paint the entire tile for low-res. This is aimed to fixing low-res resampling
         // and to avoid doing costly region accurate painting for a small area.
         aRegionToPaint = tileBounds;
       }
       break;
     }
     if (Abs(scrollDiffY) >= Abs(scrollDiffX)) {
       tileBounds.x += incX;