Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2198)

Unified Diff: content/renderer/render_view.cc

Issue 7399030: Remove --enable-p2papi flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/content_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « content/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698