Limit renderer saved frames to avoid running out of fds.
commitcdda8263350838286b033520332692e41b4b9ec6
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 28 Apr 2014 20:26:55 +0000 (28 20:26 +0000)
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 28 Apr 2014 20:26:55 +0000 (28 20:26 +0000)
tree655897924abaca94521120957e08647bb8d5594e
parent6896d7f921d0f0bf1abfd65b25fbe97cb9c7f1c8
Limit renderer saved frames to avoid running out of fds.

Software delegated rendering uses one fd per tile, so with a bunch of tiles that means it can run out of fds. If it seems close to hitting the limit the browser should throw away old frames to avoid this from happening.

BUG=362603
TBR=piman@chromium.org

Review URL: https://codereview.chromium.org/258053008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266646 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
content/browser/renderer_host/renderer_frame_manager.cc
content/browser/renderer_host/renderer_frame_manager.h
content/common/host_shared_bitmap_manager.h