зеркало из https://github.com/mozilla/gecko-dev.git
turning off automatic generation of BMP files for each image drawn.
r=kedl
This commit is contained in:
Родитель
9e268e3cca
Коммит
c62b7e52d6
|
@ -480,7 +480,8 @@ NS_IMETHODIMP nsImagePh :: Draw(nsIRenderingContext &aContext, nsDrawingSurface
|
|||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
#ifdef DEBUG
|
||||
/* Try to dump the image to a BMP file */
|
||||
PR_LOG(PhGfxLog, PR_LOG_DEBUG,("nsImagePh::Draw2 Dump image to BMP\n"));
|
||||
|
||||
|
@ -492,6 +493,7 @@ NS_IMETHODIMP nsImagePh :: Draw(nsIRenderingContext &aContext, nsDrawingSurface
|
|||
|
||||
|
||||
do_bmp(ptr, mImage.bpl/3, mImage.size.w, mImage.size.h);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче