We use a macro IMAGE_DECODER_DOWN_SAMPLING_MAX_NUMBER_OF_PIXELS as the threshold when ENABLE(IMAGE_DECODER_DOWN_SAMPLING) is true. It will be more helpful if this limit can be specified at runtime.
Created attachment 58069 [details] the patch
Comment on attachment 58069 [details] the patch Clearing flags on attachment: 58069 Committed r60927: <http://trac.webkit.org/changeset/60927>
All reviewed patches have been landed. Closing bug.