mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 749118 - Translate the source correctly in RasterImage::CopyFrame. r=joe
This commit is contained in:
parent
5939c267ea
commit
a3e3a511ef
@ -851,8 +851,9 @@ RasterImage::CopyFrame(PRUint32 aWhichFrame,
|
||||
gfxASurface::ImageFormatARGB32);
|
||||
gfxContext ctx(imgsurface);
|
||||
ctx.SetOperator(gfxContext::OPERATOR_SOURCE);
|
||||
ctx.SetPattern(pattern);
|
||||
ctx.Rectangle(framerect);
|
||||
ctx.Translate(framerect.TopLeft());
|
||||
ctx.SetPattern(pattern);
|
||||
ctx.Fill();
|
||||
|
||||
*_retval = imgsurface.forget().get();
|
||||
|
Loading…
Reference in New Issue
Block a user