mozilla/pdf.js — pull request #3159 by kkujala (2013-04-25 20:25:17+00:00)
Title: Use 512 as a max pattern size

This fixes a regression #3135 which was introduced by #2177.
Having too large MAX_PATTERN_SIZE causes huge pixmaps to be created
that will lead to OOM.