mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Changed CopyOffScreenBits to copy from 0,0 instead of using the aBounds (x,y)
This commit is contained in:
parent
0f8921d050
commit
99e5b09d92
@ -1069,7 +1069,7 @@ nsresult nsRenderingContextUnix :: CopyOffScreenBits(nsRect &aBounds)
|
||||
mRenderingSurface->drawable,
|
||||
mFrontBuffer->drawable,
|
||||
mFrontBuffer->gc,
|
||||
aBounds.x, aBounds.y, aBounds.width, aBounds.height, 0, 0);
|
||||
0, 0, aBounds.width, aBounds.height, 0, 0);
|
||||
|
||||
if (nsnull != mRegion)
|
||||
::XSetRegion(mRenderingSurface->display,
|
||||
|
Loading…
Reference in New Issue
Block a user