Bug 1208829 - Use the effective visible region to calculate the intermediate surface size. r=mstange

--HG--
extra : source : d0a5d70aff5c4f7597be348747186d029f322d12
This commit is contained in:
Botond Ballo 2015-11-19 15:43:44 -05:00
parent 9c99ee0439
commit 7bbca96988

View File

@ -2088,7 +2088,7 @@ public:
RenderTargetIntRect GetIntermediateSurfaceRect()
{
NS_ASSERTION(mUseIntermediateSurface, "Must have intermediate surface");
return RenderTargetIntRect::FromUnknownRect(mVisibleRegion.GetBounds());
return RenderTargetIntRect::FromUnknownRect(GetEffectiveVisibleRegion().GetBounds());
}
/**