diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-22 00:09:45 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-22 00:09:45 +0000 |
commit | f26c77082295b9fc277cd7a5eb75cdf0edee1bbb (patch) | |
tree | 26b7dd1e1783f10a7266fa9bfaf66d3cd6329f9e /printing | |
parent | cbd4501c6c1658f102bb3fdac5c4f0e0c60b4520 (diff) | |
download | chromium_src-f26c77082295b9fc277cd7a5eb75cdf0edee1bbb.zip chromium_src-f26c77082295b9fc277cd7a5eb75cdf0edee1bbb.tar.gz chromium_src-f26c77082295b9fc277cd7a5eb75cdf0edee1bbb.tar.bz2 |
cros: Protect app windows from out-of-memory kills
Web apps that run in a window tend to be high-value and
have large visible surfaces, which makes them undesirable
to discard in out-of-memory situations. Deprioritize them
in the same way we do pinned tabs.
Also cleaned up the OomPriorityManager unit test, which
wasn't completely testing that the priority sort actually
reordered things.
BUG=143418
TEST=Updated OomPriorityManager unit test
Review URL: https://chromiumcodereview.appspot.com/10860023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152680 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
0 files changed, 0 insertions, 0 deletions