diff options
Diffstat (limited to 'content/renderer/render_thread_impl.cc')
-rw-r--r-- | content/renderer/render_thread_impl.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc index dae9cd0..fe87a52 100644 --- a/content/renderer/render_thread_impl.cc +++ b/content/renderer/render_thread_impl.cc @@ -527,8 +527,7 @@ void RenderThreadImpl::EnsureWebKitInitialized() { WebRuntimeFeatures::enableMediaPlayer( media::IsMediaLibraryInitialized()); - WebKit::WebRuntimeFeatures::enableMediaStream( - command_line.HasSwitch(switches::kEnableMediaStream)); + WebKit::WebRuntimeFeatures::enableMediaStream(true); WebKit::WebRuntimeFeatures::enablePeerConnection( command_line.HasSwitch(switches::kEnablePeerConnection)); @@ -922,10 +921,6 @@ GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( WebKit::WebMediaStreamCenter* RenderThreadImpl::CreateMediaStreamCenter( WebKit::WebMediaStreamCenterClient* client) { #if defined(ENABLE_WEBRTC) - if (!CommandLine::ForCurrentProcess()->HasSwitch( - switches::kEnableMediaStream)) { - return NULL; - } if (!media_stream_center_) media_stream_center_ = new content::MediaStreamCenter(client); #endif |