Bug 1189473 - Don't paint the tiles in the APZ minimap. r=mstange

--HG--
extra : commitid : G3omKTHQZtl
extra : rebase_source : 6871b4333cb3c074d9ee85eb7fb3c4ce6236365e
This commit is contained in:
Benoit Girard 2015-07-30 15:26:39 -04:00
Родитель f26b08f16f
Коммит 49fd3d5be0
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -471,6 +471,7 @@ RenderMinimap(ContainerT* aContainer, LayerManagerComposite* aManager,
r = transform.TransformBounds(scrollRect.ToUnknownRect());
compositor->FillRect(r, backgroundColor, clipRect, aContainer->GetEffectiveTransform());
/* Disabled because on long pages SlowDrawRect becomes a bottleneck.
int tileW = gfxPrefs::LayersTileWidth();
int tileH = gfxPrefs::LayersTileHeight();
@ -484,6 +485,7 @@ RenderMinimap(ContainerT* aContainer, LayerManagerComposite* aManager,
compositor->SlowDrawRect(r, tileBorderColor, clipRect, aContainer->GetEffectiveTransform());
}
}
*/
r = transform.TransformBounds(scrollRect.ToUnknownRect());
compositor->SlowDrawRect(r, pageBorderColor, clipRect, aContainer->GetEffectiveTransform());