Cherry-pick: [Android WebView] Change tile size to 384
Cherry-pick of Chromium crrev.com/r232457
512x512 tiles uses exactly 1MB in memory. However the allocator
on certain devices allocates 1.25MB instead (due to performance
heuristics), so 20% of allocated tile memory is wasted in this
Determined experimentally that 384 tiles do not have any overhead, so
update tile size to 384.
Also reduce the number of resources per webview from 200 to 150 to
overcome potential file handle limit problems, and add a command line
switch to control this value.
3 files changed