зеркало из https://github.com/mozilla/gecko-dev.git
Fixed memory corruption crasher by passing in the correct width/height to the swizzler routine
This commit is contained in:
Родитель
1300867964
Коммит
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче