Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Issue 25938002: Android: limit image decoded size based on amount of physical memory (Closed)

Created:
7 years, 2 months ago by Xianzhu
Modified:
7 years, 2 months ago
Reviewers:
tony, klobag.chromium
CC:
chromium-reviews, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Android: 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 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
M webkit/child/webkitplatformsupport_impl.cc View 1 2 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Xianzhu
7 years, 2 months ago (2013-10-03 21:13:13 UTC) #1
Xianzhu
Grace, do you think we could use the same expression for all devices? e.g. physicalMemory ...
7 years, 2 months ago (2013-10-03 21:49:42 UTC) #2
klobag.chromium
On 2013/10/03 21:49:42, Xianzhu wrote: > Grace, do you think we could use the same ...
7 years, 2 months ago (2013-10-04 04:28:44 UTC) #3
klobag.chromium
On 2013/10/04 04:28:44, klobag.chromium wrote: > On 2013/10/03 21:49:42, Xianzhu wrote: > > Grace, do ...
7 years, 2 months ago (2013-10-04 04:31:40 UTC) #4
klobag.chromium
lgtm
7 years, 2 months ago (2013-10-04 04:33:30 UTC) #5
tony
LGTM2, would be nice to have some unit tests for this.
7 years, 2 months ago (2013-10-04 16:18:32 UTC) #6
Xianzhu
On 2013/10/04 16:18:32, tony wrote: > LGTM2, would be nice to have some unit tests ...
7 years, 2 months ago (2013-10-04 17:01:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/25938002/8001
7 years, 2 months ago (2013-10-04 17:12:54 UTC) #8
commit-bot: I haz the power
7 years, 2 months ago (2013-10-04 19:58:41 UTC) #9
Message was sent while issue was closed.
Change committed as 227063

Powered by Google App Engine
This is Rietveld 408576698