summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/fullscreen/fullscreen_controller.cc
diff options
context:
space:
mode:
authormseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-30 12:24:24 +0000
committermseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-30 12:24:24 +0000
commit6b28ab9e9a4e3564cffeb88f4d22eda7e7dc425b (patch)
tree23369257f4d5335c8b325f1539052280d7b15ee7 /chrome/browser/ui/fullscreen/fullscreen_controller.cc
parente995e79979c0bbea4f2d5e4e89bc5db66b95660f (diff)
downloadchromium_src-6b28ab9e9a4e3564cffeb88f4d22eda7e7dc425b.zip
chromium_src-6b28ab9e9a4e3564cffeb88f4d22eda7e7dc425b.tar.gz
chromium_src-6b28ab9e9a4e3564cffeb88f4d22eda7e7dc425b.tar.bz2
Make RouteStdioToConsole() redirect FDs 1 and 2 as well as FILE* pointers
After this change, --enable-logging allows NaCl untrusted code to output to stdout/stderr when Chrome is running under the Windows console, which makes debugging easier. The change is needed because NaCl uses _write() on file descriptors 1 and 2 in this case rather than fwrite() on FILE* stdout and stderr. stdout/stderr already worked for NaCl untrusted code on Linux and Mac. BUG=171836 TEST=manually run hello_world.nexe under Chrome on a Windows console Review URL: https://chromiumcodereview.appspot.com/12095018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/fullscreen/fullscreen_controller.cc')
0 files changed, 0 insertions, 0 deletions