Index: content/browser/renderer_host/browser_render_process_host.cc |
diff --git a/content/browser/renderer_host/browser_render_process_host.cc b/content/browser/renderer_host/browser_render_process_host.cc |
index 734571e9e04c53dde538eeef27573fcd249bbba7..a0430577fe6b228921bcf933ef494674c4c66d00 100644 |
--- a/content/browser/renderer_host/browser_render_process_host.cc |
+++ b/content/browser/renderer_host/browser_render_process_host.cc |
@@ -398,8 +398,7 @@ void BrowserRenderProcessHost::CreateMessageFilters() { |
widget_helper_.get(), &RenderWidgetHelper::GetNextRoutingID))); |
#if defined(ENABLE_P2P_APIS) |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableP2PApi)) |
- channel_->AddFilter(new P2PSocketDispatcherHost()); |
+ channel_->AddFilter(new P2PSocketDispatcherHost()); |
#endif |
channel_->AddFilter(new TraceMessageFilter()); |
@@ -549,9 +548,6 @@ void BrowserRenderProcessHost::PropagateBrowserCommandLineToRenderer( |
switches::kEnableGPUClientLogging, |
switches::kEnableLogging, |
switches::kEnableMediaStream, |
-#if defined(ENABLE_P2P_APIS) |
- switches::kEnableP2PApi, |
-#endif |
switches::kEnablePepperTesting, |
#if defined(OS_MACOSX) |
// Allow this to be set when invoking the browser and relayed along. |