mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
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:
parent
f7c2380ce0
commit
c43f439843
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user