DescriptionAndroid: limit image decoded size based on amount of physical memory
The previous change (https://codereview.chromium.org/23600067/) added
limit for low end devices (memory <= 512MB). Now limit on all devices
to display huge images without crash or displaying as corrupted images.
This CL is still Android. The method might be also useful on other
platforms but the best parameters may differ (may be affected by the
swap memory).
BUG=303848
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227063
Patch Set 1 #Patch Set 2 : #Messages
Total messages: 9 (0 generated)
|