Index: content/shell/renderer/test_runner/web_test_proxy.cc |
diff --git a/content/shell/renderer/test_runner/web_test_proxy.cc b/content/shell/renderer/test_runner/web_test_proxy.cc |
index d602bbc6b04b1bb2a3a8bb25deaf044e3618e3cd..ae522d38d5374ae65b6c1c841065c6a5a09eb181 100644 |
--- a/content/shell/renderer/test_runner/web_test_proxy.cc |
+++ b/content/shell/renderer/test_runner/web_test_proxy.cc |
@@ -46,7 +46,6 @@ |
#include "third_party/WebKit/public/web/WebElement.h" |
#include "third_party/WebKit/public/web/WebHistoryItem.h" |
#include "third_party/WebKit/public/web/WebLocalFrame.h" |
-#include "third_party/WebKit/public/web/WebMIDIClientMock.h" |
#include "third_party/WebKit/public/web/WebNode.h" |
#include "third_party/WebKit/public/web/WebPagePopup.h" |
#include "third_party/WebKit/public/web/WebPluginParams.h" |
@@ -407,8 +406,6 @@ void WebTestProxyBase::Reset() { |
animate_scheduled_ = false; |
resource_identifier_map_.clear(); |
log_console_output_ = true; |
- if (midi_client_.get()) |
- midi_client_->resetMock(); |
accept_languages_ = ""; |
} |
@@ -678,12 +675,6 @@ WebTestProxyBase::GetScreenOrientationClientMock() { |
return screen_orientation_client_.get(); |
} |
-blink::WebMIDIClientMock* WebTestProxyBase::GetMIDIClientMock() { |
- if (!midi_client_.get()) |
- midi_client_.reset(new blink::WebMIDIClientMock); |
- return midi_client_.get(); |
-} |
- |
MockWebSpeechRecognizer* WebTestProxyBase::GetSpeechRecognizerMock() { |
if (!speech_recognizer_.get()) { |
speech_recognizer_.reset(new MockWebSpeechRecognizer()); |
@@ -938,10 +929,6 @@ void WebTestProxyBase::PrintPage(blink::WebLocalFrame* frame) { |
frame->printEnd(); |
} |
-blink::WebMIDIClient* WebTestProxyBase::GetWebMIDIClient() { |
- return GetMIDIClientMock(); |
-} |
- |
blink::WebSpeechRecognizer* WebTestProxyBase::GetSpeechRecognizer() { |
return GetSpeechRecognizerMock(); |
} |