| Index: chrome/browser/renderer_host/browser_render_process_host.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_host/browser_render_process_host.cc (revision 31259)
|
| +++ chrome/browser/renderer_host/browser_render_process_host.cc (working copy)
|
| @@ -7,8 +7,6 @@
|
|
|
| #include "chrome/browser/renderer_host/browser_render_process_host.h"
|
|
|
| -#include "build/build_config.h"
|
| -
|
| #include <algorithm>
|
| #include <limits>
|
| #include <vector>
|
| @@ -66,8 +64,8 @@
|
| #include "chrome/browser/sandbox_policy.h"
|
| #elif defined(OS_LINUX)
|
| #include "base/singleton.h"
|
| +#include "chrome/browser/crash_handler_host_linux.h"
|
| #include "chrome/browser/zygote_host_linux.h"
|
| -#include "chrome/browser/renderer_host/render_crash_handler_host_linux.h"
|
| #include "chrome/browser/renderer_host/render_sandbox_host_linux.h"
|
| #endif
|
|
|
| @@ -593,7 +591,7 @@
|
| const int ipcfd = channel_->GetClientFileDescriptor();
|
| mapping.push_back(std::pair<uint32_t, int>(kPrimaryIPCChannel, ipcfd));
|
| const int crash_signal_fd =
|
| - Singleton<RenderCrashHandlerHostLinux>()->GetDeathSignalSocket();
|
| + Singleton<RendererCrashHandlerHostLinux>()->GetDeathSignalSocket();
|
| if (crash_signal_fd >= 0) {
|
| mapping.push_back(std::pair<uint32_t, int>(kCrashDumpSignal,
|
| crash_signal_fd));
|
| @@ -613,7 +611,7 @@
|
| // On Linux, we need to add some extra file descriptors for crash handling and
|
| // the sandbox.
|
| const int crash_signal_fd =
|
| - Singleton<RenderCrashHandlerHostLinux>()->GetDeathSignalSocket();
|
| + Singleton<RendererCrashHandlerHostLinux>()->GetDeathSignalSocket();
|
| if (crash_signal_fd >= 0) {
|
| fds_to_map.push_back(std::make_pair(crash_signal_fd,
|
| kCrashDumpSignal + 3));
|
| @@ -913,7 +911,6 @@
|
| bool enabled = IPC::Logging::current()->Enabled();
|
| Send(new ViewMsg_SetIPCLoggingEnabled(enabled));
|
| #endif
|
| -
|
| }
|
|
|
| // Static. This function can be called from any thread.
|
|
|