mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-15 13:09:14 +00:00
Bug 1208829 - Use the effective visible region to calculate the intermediate surface size. r=mstange
--HG-- extra : source : d0a5d70aff5c4f7597be348747186d029f322d12
This commit is contained in:
parent
9c99ee0439
commit
7bbca96988
@ -2088,7 +2088,7 @@ public:
|
||||
RenderTargetIntRect GetIntermediateSurfaceRect()
|
||||
{
|
||||
NS_ASSERTION(mUseIntermediateSurface, "Must have intermediate surface");
|
||||
return RenderTargetIntRect::FromUnknownRect(mVisibleRegion.GetBounds());
|
||||
return RenderTargetIntRect::FromUnknownRect(GetEffectiveVisibleRegion().GetBounds());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user