Index: content/renderer/render_view.cc |
diff --git a/content/renderer/render_view.cc b/content/renderer/render_view.cc |
index d1d3a82929dcbca95712453674187541c809397d..4787ff96b53e08f56165922a22bbd95ff0df432d 100644 |
--- a/content/renderer/render_view.cc |
+++ b/content/renderer/render_view.cc |
@@ -401,8 +401,7 @@ RenderView::RenderView(RenderThreadBase* render_thread, |
WebAccessibilityCache::enableAccessibility(); |
#if defined(ENABLE_P2P_APIS) |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableP2PApi)) |
- p2p_socket_dispatcher_ = new P2PSocketDispatcher(this); |
+ p2p_socket_dispatcher_ = new P2PSocketDispatcher(this); |
#endif |
content::GetContentClient()->renderer()->RenderViewCreated(this); |