Merge pull request #4937 from nnethercote/smaller-cache

Halve the size of the PageView cache.
This commit is contained in:
Yury Delendik 2014-06-13 10:19:15 -05:00
commit 7377598102

View File

@ -28,7 +28,7 @@ var DEFAULT_URL = 'compressed.tracemonkey-pldi-09.pdf';
var DEFAULT_SCALE = 'auto'; var DEFAULT_SCALE = 'auto';
var DEFAULT_SCALE_DELTA = 1.1; var DEFAULT_SCALE_DELTA = 1.1;
var UNKNOWN_SCALE = 0; var UNKNOWN_SCALE = 0;
var CACHE_SIZE = 20; var CACHE_SIZE = 10;
var CSS_UNITS = 96.0 / 72.0; var CSS_UNITS = 96.0 / 72.0;
var SCROLLBAR_PADDING = 40; var SCROLLBAR_PADDING = 40;
var VERTICAL_PADDING = 5; var VERTICAL_PADDING = 5;