Index: content/shell/renderer/test_runner/WebTestProxy.cpp |
diff --git a/content/shell/renderer/test_runner/WebTestProxy.cpp b/content/shell/renderer/test_runner/WebTestProxy.cpp |
index c47bf03238a76ee0964bd99c82f6bd241748db2d..ca849bc8eb0cce6363fffa584abf1e55b2fb937e 100644 |
--- a/content/shell/renderer/test_runner/WebTestProxy.cpp |
+++ b/content/shell/renderer/test_runner/WebTestProxy.cpp |
@@ -34,7 +34,6 @@ |
#include "third_party/WebKit/public/web/WebDocument.h" |
#include "third_party/WebKit/public/web/WebElement.h" |
#include "third_party/WebKit/public/web/WebFrame.h" |
-#include "third_party/WebKit/public/web/WebGeolocationClientMock.h" |
#include "third_party/WebKit/public/web/WebHistoryItem.h" |
#include "third_party/WebKit/public/web/WebMIDIClientMock.h" |
#include "third_party/WebKit/public/web/WebNode.h" |
@@ -426,8 +425,6 @@ void WebTestProxyBase::reset() |
m_animateScheduled = false; |
m_resourceIdentifierMap.clear(); |
m_logConsoleOutput = true; |
- if (m_geolocationClient.get()) |
- m_geolocationClient->resetMock(); |
if (m_midiClient.get()) |
m_midiClient->resetMock(); |
#if ENABLE_INPUT_SPEECH |
@@ -666,13 +663,6 @@ void WebTestProxyBase::discardBackingStore() |
m_canvas.reset(); |
} |
-WebGeolocationClientMock* WebTestProxyBase::geolocationClientMock() |
-{ |
- if (!m_geolocationClient.get()) |
- m_geolocationClient.reset(WebGeolocationClientMock::create()); |
- return m_geolocationClient.get(); |
-} |
- |
WebMIDIClientMock* WebTestProxyBase::midiClientMock() |
{ |
if (!m_midiClient.get()) |
@@ -951,11 +941,6 @@ WebNotificationPresenter* WebTestProxyBase::notificationPresenter() |
return m_testInterfaces->testRunner()->notificationPresenter(); |
} |
-WebGeolocationClient* WebTestProxyBase::geolocationClient() |
-{ |
- return geolocationClientMock(); |
-} |
- |
WebMIDIClient* WebTestProxyBase::webMIDIClient() |
{ |
return midiClientMock(); |