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())); |