Index: content/app/content_main_runner.cc |
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
index 2906e77f0d2d805215b63bd2a352c525cf788f65..df069e87e07a6c77125fe6af3f16f93918126926 100644 |
--- a/content/app/content_main_runner.cc |
+++ b/content/app/content_main_runner.cc |
@@ -197,23 +197,6 @@ void CommonSubprocessInit(const std::string& process_type) { |
#endif |
} |
-// Only needed on Windows for creating stats tables. |
-#if defined(OS_WIN) |
-static base::ProcessId GetBrowserPid(const base::CommandLine& command_line) { |
- base::ProcessId browser_pid = base::GetCurrentProcId(); |
- if (command_line.HasSwitch(switches::kProcessChannelID)) { |
- std::string channel_name = |
- command_line.GetSwitchValueASCII(switches::kProcessChannelID); |
- |
- int browser_pid_int; |
- base::StringToInt(channel_name, &browser_pid_int); |
- browser_pid = static_cast<base::ProcessId>(browser_pid_int); |
- DCHECK_NE(browser_pid_int, 0); |
- } |
- return browser_pid; |
-} |
-#endif |
- |
class ContentClientInitializer { |
public: |
static void Set(const std::string& process_type, |