| Index: components/test_runner/mock_web_user_media_client.cc
|
| diff --git a/components/test_runner/mock_web_user_media_client.cc b/components/test_runner/mock_web_user_media_client.cc
|
| index 4197a268e105f418bf8698d1ac58a536989f57ca..a5f8bdcbe76c7fdb72b5835db62261d0f31376fe 100644
|
| --- a/components/test_runner/mock_web_user_media_client.cc
|
| +++ b/components/test_runner/mock_web_user_media_client.cc
|
| @@ -8,7 +8,6 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| -#include "components/test_runner/mock_constraints.h"
|
| #include "components/test_runner/web_test_delegate.h"
|
| #include "third_party/WebKit/public/platform/WebMediaConstraints.h"
|
| #include "third_party/WebKit/public/platform/WebMediaDeviceInfo.h"
|
| @@ -146,22 +145,6 @@ void MockWebUserMediaClient::requestUserMedia(
|
| return;
|
| }
|
|
|
| - WebMediaConstraints constraints = request.audioConstraints();
|
| - WebString failed_constraint;
|
| - if (!constraints.isNull() &&
|
| - !MockConstraints::VerifyConstraints(constraints, &failed_constraint)) {
|
| - delegate_->PostTask(new UserMediaRequestConstraintFailedTask(
|
| - this, request, failed_constraint));
|
| - return;
|
| - }
|
| - constraints = request.videoConstraints();
|
| - if (!constraints.isNull() &&
|
| - !MockConstraints::VerifyConstraints(constraints, &failed_constraint)) {
|
| - delegate_->PostTask(new UserMediaRequestConstraintFailedTask(
|
| - this, request, failed_constraint));
|
| - return;
|
| - }
|
| -
|
| WebMediaStream stream;
|
| stream.initialize(WebVector<WebMediaStreamTrack>(),
|
| WebVector<WebMediaStreamTrack>());
|
|
|