mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-30 01:59:29 +00:00
Fixed memory corruption crasher by passing in the correct width/height to the swizzler routine
This commit is contained in:
parent
1300867964
commit
876354c311
@ -384,7 +384,7 @@ NS_IMETHODIMP nsImageGTK::Draw(nsIRenderingContext &aContext,
|
||||
}
|
||||
moz_gdk_draw_bgr_image (drawing->drawable,
|
||||
drawing->gc,
|
||||
aX, aY, aWidth, aHeight,
|
||||
aX, aY, mWidth, mHeight,
|
||||
GDK_RGB_DITHER_MAX,
|
||||
mImageBits, mRowBytes);
|
||||
if (mAlphaBits != nsnull)
|
||||
|
Loading…
x
Reference in New Issue
Block a user