Avoid crashing if we can't allocate a new user-script segment.
commit559c556ef8faecb8919a8161e2c030493e91c2ab
authorjyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 1 May 2014 08:26:38 +0000 (1 08:26 +0000)
committerjyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 1 May 2014 08:26:38 +0000 (1 08:26 +0000)
treec173836fe3517ae1116a213c31a3ffa8d6eb2216
parentac6f8c98b9f225ac1c890f94d14ff9e3b17afd0c
Avoid crashing if we can't allocate a new user-script segment.

This isn't a great solution, since it'll make new renderers ignore changes to
the extension set after we hit the FD limit. The long-term solution might be to intentionally-crash at a lower level any time we exhaust the allowed file descriptors.

BUG=358862

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267481 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/extensions/user_script_master.cc