Bug 1147909 - Part 2 - (nsPNGDecoder) Update embedded libpng to version 1.6.17. r=jmuizelaar

--HG--
extra : rebase_source : 98295e9675e10890c68f93e39202c0c410ec6b35
This commit is contained in:
Glenn Randers-Pehrson 2015-03-28 11:07:00 +01:00
parent f7c2380ce0
commit c43f439843

View File

@ -281,7 +281,7 @@ nsPNGDecoder::InitInternal()
(int)sizeof(unused_chunks)/5);
#endif
#ifdef PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED
#ifdef PNG_SET_USER_LIMITS_SUPPORTED
if (mCMSMode != eCMSMode_Off) {
png_set_chunk_malloc_max(mPNG, 4000000L);
}