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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 13116024: Move webrtc behind flag(--enable-webrtc) for M27 branch (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1453/src/
Patch Set: rebase Created 7 years, 9 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/public/common/content_switches.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
===================================================================
--- content/renderer/render_thread_impl.cc (revision 191376)
+++ content/renderer/render_thread_impl.cc (working copy)
@@ -705,9 +705,9 @@
#if defined(OS_ANDROID)
WebKit::WebRuntimeFeatures::enableMediaStream(
- !command_line.HasSwitch(switches::kDisableWebRTC));
+ command_line.HasSwitch(switches::kEnableWebRTC));
WebKit::WebRuntimeFeatures::enablePeerConnection(
- !command_line.HasSwitch(switches::kDisableWebRTC));
+ command_line.HasSwitch(switches::kEnableWebRTC));
#else
WebKit::WebRuntimeFeatures::enableMediaStream(true);
WebKit::WebRuntimeFeatures::enablePeerConnection(true);
@@ -1210,8 +1210,8 @@
WebKit::WebMediaStreamCenter* RenderThreadImpl::CreateMediaStreamCenter(
WebKit::WebMediaStreamCenterClient* client) {
#if defined(OS_ANDROID)
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableWebRTC))
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableWebRTC))
return NULL;
#endif
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698