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

Unified Diff: content/renderer/media/peer_connection_handler_jsep_unittest.cc

Issue 10919122: Move creation of PeerConnection from the RenderView to the RenderThreadImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: #if defined(ENABLE_WEBRTC) in RendererWebKitPlatformSupportImpl::createPeerConnection00Handler to b… Created 8 years, 3 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
Index: content/renderer/media/peer_connection_handler_jsep_unittest.cc
diff --git a/content/renderer/media/peer_connection_handler_jsep_unittest.cc b/content/renderer/media/peer_connection_handler_jsep_unittest.cc
index 6c4b2d8113d48195ba29349caa5047410bc45730..474e96788fcd9f9cd0e86b4269f90348eab3ae5b 100644
--- a/content/renderer/media/peer_connection_handler_jsep_unittest.cc
+++ b/content/renderer/media/peer_connection_handler_jsep_unittest.cc
@@ -43,12 +43,8 @@ class PeerConnectionHandlerJsepTest : public ::testing::Test {
void SetUp() {
mock_client_.reset(new WebKit::MockWebPeerConnection00HandlerClient());
mock_dependency_factory_.reset(
- new MockMediaStreamDependencyFactory(NULL));
- mock_dependency_factory_->CreatePeerConnectionFactory(NULL,
- NULL,
- NULL,
- NULL,
- NULL);
+ new MockMediaStreamDependencyFactory());
+ mock_dependency_factory_->EnsurePeerConnectionFactory();
pc_handler_.reset(
new PeerConnectionHandlerJsepUnderTest(mock_client_.get(),
mock_dependency_factory_.get()));
« no previous file with comments | « content/renderer/media/mock_media_stream_dependency_factory.cc ('k') | content/renderer/media/webrtc_uma_histograms.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698