-
mseaborn@chromium.org authored
There is no need to be using dup2() to set up an FD with a fixed number; this risks overwriting an FD. The point of base::GlobalDescriptors is that it provides a level of indirection that allows any FD number to be used. Remove kNaClBrowserDescriptor. Remove the browserdesc argument that is not used for anything other than an assertion and so isn't needed. BUG=https://code.google.com/p/nativeclient/issues/detail?id=2096 TEST=NaCl tests in browser_tests Review URL: https://codereview.chromium.org/11819021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176106 0039d316-1c4b-4281-b951-d872f2087c98
3f6d9fc8