| Index: content/renderer/render_thread_impl.cc
|
| ===================================================================
|
| --- content/renderer/render_thread_impl.cc (revision 198991)
|
| +++ content/renderer/render_thread_impl.cc (working copy)
|
| @@ -663,12 +663,12 @@
|
| #endif
|
|
|
| #if defined(OS_ANDROID)
|
| - if (command_line.HasSwitch(switches::kDisableWebRTC))
|
| + if (!command_line.HasSwitch(switches::kEnableWebRTC))
|
| WebRuntimeFeatures::enableMediaStream(false);
|
| #endif
|
|
|
| #if defined(OS_ANDROID)
|
| - if (command_line.HasSwitch(switches::kDisableWebRTC))
|
| + if (!command_line.HasSwitch(switches::kEnableWebRTC))
|
| WebRuntimeFeatures::enablePeerConnection(false);
|
| #endif
|
|
|
| @@ -1227,8 +1227,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
|
|
|
|
|