Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 1434e76813a562214d7d176af0005bc1f4f877a4..2f8669e55cb8900fce71298bbf5a78973ac7440c 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -601,6 +601,15 @@ WebKit::WebPeerConnectionHandler* RenderViewImpl::CreatePeerConnectionHandler( |
return media_stream_impl_->CreatePeerConnectionHandler(client); |
} |
+WebKit::WebMediaStreamCenter* RenderViewImpl::CreateMediaStreamCenter( |
darin (slow to review)
2012/02/13 16:27:01
In this file, please add using directives at the t
tommyw
2012/02/13 17:30:07
Done.
|
+ WebKit::WebMediaStreamCenterClient* client) { |
+ const CommandLine* cmd_line = CommandLine::ForCurrentProcess(); |
+ if (!cmd_line->HasSwitch(switches::kEnableMediaStream)) |
+ return NULL; |
+ EnsureMediaStreamImpl(); |
+ return media_stream_impl_->CreateMediaStreamCenter(client); |
+} |
+ |
void RenderViewImpl::AddObserver(RenderViewObserver* observer) { |
observers_.AddObserver(observer); |
} |