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

Issue 23600067: Limit image decoded size on low end Android devices (Closed)

Created:
7 years, 3 months ago by Xianzhu
Modified:
7 years, 2 months ago
Reviewers:
tony
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Limit image decoded size on low end Android devices Limit decoded size to 3M pixels on low end Android devices. The image decoder may downsample the images to meet the limit. BUG=276666 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225354

Patch Set 1 #

Total comments: 2

Patch Set 2 : 0 -> max size_t for Unlimited #

Total comments: 2

Patch Set 3 : 1000 -> 1024 #

Patch Set 4 : Change according to WebKit API change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M webkit/child/webkitplatformsupport_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webkit/child/webkitplatformsupport_impl.cc View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Xianzhu
7 years, 3 months ago (2013-09-20 21:32:26 UTC) #1
tony
https://codereview.chromium.org/23600067/diff/1/webkit/child/webkitplatformsupport_impl.cc File webkit/child/webkitplatformsupport_impl.cc (right): https://codereview.chromium.org/23600067/diff/1/webkit/child/webkitplatformsupport_impl.cc#newcode892 webkit/child/webkitplatformsupport_impl.cc:892: return 0; // Unlimited. Having 0 mean unlimited is ...
7 years, 3 months ago (2013-09-20 22:27:04 UTC) #2
Xianzhu
https://codereview.chromium.org/23600067/diff/1/webkit/child/webkitplatformsupport_impl.cc File webkit/child/webkitplatformsupport_impl.cc (right): https://codereview.chromium.org/23600067/diff/1/webkit/child/webkitplatformsupport_impl.cc#newcode892 webkit/child/webkitplatformsupport_impl.cc:892: return 0; // Unlimited. On 2013/09/20 22:27:04, tony wrote: ...
7 years, 3 months ago (2013-09-20 23:13:46 UTC) #3
tony
LGTM https://codereview.chromium.org/23600067/diff/6001/webkit/child/webkitplatformsupport_impl.cc File webkit/child/webkitplatformsupport_impl.cc (right): https://codereview.chromium.org/23600067/diff/6001/webkit/child/webkitplatformsupport_impl.cc#newcode890 webkit/child/webkitplatformsupport_impl.cc:890: return 3 * 1000 * 1000 * 4; ...
7 years, 3 months ago (2013-09-20 23:14:57 UTC) #4
Xianzhu
https://codereview.chromium.org/23600067/diff/6001/webkit/child/webkitplatformsupport_impl.cc File webkit/child/webkitplatformsupport_impl.cc (right): https://codereview.chromium.org/23600067/diff/6001/webkit/child/webkitplatformsupport_impl.cc#newcode890 webkit/child/webkitplatformsupport_impl.cc:890: return 3 * 1000 * 1000 * 4; // ...
7 years, 3 months ago (2013-09-20 23:23:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/23600067/16001
7 years, 2 months ago (2013-09-25 17:53:41 UTC) #6
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-09-25 19:54:09 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/23600067/16001
7 years, 2 months ago (2013-09-25 20:06:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/23600067/16001
7 years, 2 months ago (2013-09-25 21:28:29 UTC) #9
commit-bot: I haz the power
7 years, 2 months ago (2013-09-26 06:18:13 UTC) #10
Message was sent while issue was closed.
Change committed as 225354

Powered by Google App Engine
This is Rietveld 408576698