| Index: content/shell/renderer/test_runner/test_runner.cc
|
| diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
|
| index ba78c8bae3ba425df22b1623d34787239d156d7a..0bf715a23c5294e8bdade7268bddc9c58e328119 100644
|
| --- a/content/shell/renderer/test_runner/test_runner.cc
|
| +++ b/content/shell/renderer/test_runner/test_runner.cc
|
| @@ -41,7 +41,6 @@
|
| #include "third_party/WebKit/public/web/WebInputElement.h"
|
| #include "third_party/WebKit/public/web/WebKit.h"
|
| #include "third_party/WebKit/public/web/WebLocalFrame.h"
|
| -#include "third_party/WebKit/public/web/WebMIDIClientMock.h"
|
| #include "third_party/WebKit/public/web/WebPageOverlay.h"
|
| #include "third_party/WebKit/public/web/WebScriptSource.h"
|
| #include "third_party/WebKit/public/web/WebSecurityPolicy.h"
|
| @@ -1331,8 +1330,6 @@ void TestRunnerBindings::SetMIDIAccessorResult(bool result) {
|
| }
|
|
|
| void TestRunnerBindings::SetMIDISysexPermission(bool value) {
|
| - if (runner_)
|
| - runner_->SetMIDISysexPermission(value);
|
| }
|
|
|
| void TestRunnerBindings::GrantWebNotificationPermission(gin::Arguments* args) {
|
| @@ -2838,11 +2835,6 @@ void TestRunner::SetMIDIAccessorResult(bool result) {
|
| midi_accessor_result_ = result;
|
| }
|
|
|
| -void TestRunner::SetMIDISysexPermission(bool value) {
|
| - for (auto* window : test_interfaces_->GetWindowList())
|
| - window->GetMIDIClientMock()->setSysexPermission(value);
|
| -}
|
| -
|
| void TestRunner::GrantWebNotificationPermission(const GURL& origin,
|
| bool permission_granted) {
|
| delegate_->GrantWebNotificationPermission(origin, permission_granted);
|
|
|