| Index: chrome/browser/child_process_launcher.cc
|
| ===================================================================
|
| --- chrome/browser/child_process_launcher.cc (revision 74410)
|
| +++ chrome/browser/child_process_launcher.cc (working copy)
|
| @@ -140,15 +140,21 @@
|
| bool is_plugin =
|
| cmd_line->GetSwitchValueASCII(switches::kProcessType) ==
|
| switches::kPluginProcess;
|
| + bool is_gpu =
|
| + cmd_line->GetSwitchValueASCII(switches::kProcessType) ==
|
| + switches::kGpuProcess;
|
|
|
| - if (is_renderer || is_plugin) {
|
| + if (is_renderer || is_plugin || is_gpu) {
|
| int crash_signal_fd;
|
| if (is_renderer) {
|
| crash_signal_fd = RendererCrashHandlerHostLinux::GetInstance()->
|
| GetDeathSignalSocket();
|
| - } else {
|
| + } else if (is_plugin) {
|
| crash_signal_fd = PluginCrashHandlerHostLinux::GetInstance()->
|
| GetDeathSignalSocket();
|
| + } else {
|
| + crash_signal_fd = GpuCrashHandlerHostLinux::GetInstance()->
|
| + GetDeathSignalSocket();
|
| }
|
| if (crash_signal_fd >= 0) {
|
| fds_to_map.push_back(std::make_pair(
|
|
|