Chromium Code Reviews| Index: content/renderer/render_thread_impl.cc |
| =================================================================== |
| --- content/renderer/render_thread_impl.cc (revision 136661) |
| +++ content/renderer/render_thread_impl.cc (working copy) |
| @@ -527,8 +527,7 @@ |
| WebRuntimeFeatures::enableMediaPlayer( |
| media::IsMediaLibraryInitialized()); |
| - WebKit::WebRuntimeFeatures::enableMediaStream( |
| - command_line.HasSwitch(switches::kEnableMediaStream)); |
| + WebKit::WebRuntimeFeatures::enableMediaStream(true); |
|
jam
2012/05/14 06:30:11
nit: since this is always true, just get rid of th
wjia(left Chromium)
2012/05/14 20:42:17
This is the WebKit function to set media stream fl
|
| WebKit::WebRuntimeFeatures::enablePeerConnection( |
| command_line.HasSwitch(switches::kEnablePeerConnection)); |
| @@ -921,10 +920,6 @@ |
| 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 |