Index: components/test_runner/mock_webrtc_peer_connection_handler.cc |
diff --git a/components/test_runner/mock_webrtc_peer_connection_handler.cc b/components/test_runner/mock_webrtc_peer_connection_handler.cc |
index 4e438154a5c99234b651fc287a9d30fe05f110ac..5f46a3779eb4eaf7ef5dab78ee13a25fb09a286d 100644 |
--- a/components/test_runner/mock_webrtc_peer_connection_handler.cc |
+++ b/components/test_runner/mock_webrtc_peer_connection_handler.cc |
@@ -6,7 +6,6 @@ |
#include <stddef.h> |
-#include "components/test_runner/mock_constraints.h" |
#include "components/test_runner/mock_webrtc_data_channel_handler.h" |
#include "components/test_runner/mock_webrtc_dtmf_sender_handler.h" |
#include "components/test_runner/test_interfaces.h" |
@@ -165,16 +164,12 @@ MockWebRTCPeerConnectionHandler::MockWebRTCPeerConnectionHandler( |
bool MockWebRTCPeerConnectionHandler::initialize( |
const WebRTCConfiguration& configuration, |
const WebMediaConstraints& constraints) { |
- if (MockConstraints::VerifyConstraints(constraints)) { |
- interfaces_->GetDelegate()->PostTask(new RTCPeerConnectionStateTask( |
- this, |
- client_, |
- WebRTCPeerConnectionHandlerClient::ICEConnectionStateCompleted, |
- WebRTCPeerConnectionHandlerClient::ICEGatheringStateComplete)); |
- return true; |
- } |
- |
- return false; |
+ interfaces_->GetDelegate()->PostTask(new RTCPeerConnectionStateTask( |
+ this, |
+ client_, |
+ WebRTCPeerConnectionHandlerClient::ICEConnectionStateCompleted, |
+ WebRTCPeerConnectionHandlerClient::ICEGatheringStateComplete)); |
+ return true; |
} |
void MockWebRTCPeerConnectionHandler::createOffer( |