diff options
author | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 22:57:37 +0000 |
---|---|---|
committer | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 22:57:37 +0000 |
commit | 13287f25a7562744b3570c2bc6ab9f329f35e239 (patch) | |
tree | 4c9fd3a6dcf486709bfc04d5fa1577d689f482f5 /chrome/app | |
parent | 582d0859579409c7efc0dda9f611dbcf6886f2b7 (diff) | |
download | chromium_src-13287f25a7562744b3570c2bc6ab9f329f35e239.zip chromium_src-13287f25a7562744b3570c2bc6ab9f329f35e239.tar.gz chromium_src-13287f25a7562744b3570c2bc6ab9f329f35e239.tar.bz2 |
Linux: call SetProcTitle() in GpuMain() to make the process name correct.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3645003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62203 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/chrome_dll_main.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc index 70dacf7..c08e109 100644 --- a/chrome/app/chrome_dll_main.cc +++ b/chrome/app/chrome_dll_main.cc @@ -825,6 +825,9 @@ int ChromeMain(int argc, char** argv) { // AdjustLinuxOOMScore function too. #if defined(OS_LINUX) AdjustLinuxOOMScore(process_type); + // TODO(mdm): look into calling CommandLine::SetProcTitle() here instead of + // in each relevant main() function below, to fix /proc/self/exe showing up + // as our process name since we exec() via that to be update-safe. #endif // TODO(port): turn on these main() functions as they've been de-winified. |