| Index: chrome/plugin/plugin_main.cc
|
| ===================================================================
|
| --- chrome/plugin/plugin_main.cc (revision 35439)
|
| +++ chrome/plugin/plugin_main.cc (working copy)
|
| @@ -62,7 +62,12 @@
|
|
|
| const CommandLine& parsed_command_line = parameters.command_line_;
|
|
|
| -#if defined(OS_WIN)
|
| +#if defined(OS_LINUX)
|
| + // On Linux we exec ourselves from /proc/self/exe, but that makes the
|
| + // process name that shows up in "ps" etc. for plugins show as "exe"
|
| + // instead of "chrome" or something reasonable. Try to fix it.
|
| + CommandLine::SetProcTitle();
|
| +#elif defined(OS_WIN)
|
| sandbox::TargetServices* target_services =
|
| parameters.sandbox_info_.TargetServices();
|
|
|
|
|