Do not read /proc/self/exe before forking if Chrome is ran under Valgrind. This should prevent ui_tests from crashing under Valgrind on Linux. This fix was suggested by kcc (see the discussion of issue 28439)
Do not read /proc/self/exe before forking if Chrome is ran under Valgrind.
This should prevent ui_tests from crashing under Valgrind on Linux.
This fix was suggested by kcc (see the discussion of issue 28439)

BUG=28439

Review URL: http://codereview.chromium.org/6331002

git-svn-id: http://src.chromium.org/svn/trunk/src@71590 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: ca2fc09bde41b0281e735f3436c10584b071c279
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser