Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 117718b7d91f14d5644c88ca9821b39f074379df..0b8c6c42867798ca360f3ad3cb91bb3232d9a3b4 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -82,7 +82,6 @@ |
#include "core/rendering/compositing/RenderLayerCompositor.h" |
#include "modules/device_orientation/DeviceOrientationInspectorAgent.h" |
#include "modules/encryptedmedia/MediaKeysController.h" |
-#include "modules/geolocation/GeolocationController.h" |
#include "modules/indexeddb/InspectorIndexedDBAgent.h" |
#include "modules/push_messaging/PushController.h" |
#include "platform/ContextMenu.h" |
@@ -130,7 +129,6 @@ |
#include "web/ContextFeaturesClientImpl.h" |
#include "web/DatabaseClientImpl.h" |
#include "web/FullscreenController.h" |
-#include "web/GeolocationClientProxy.h" |
#include "web/GraphicsLayerFactoryChromium.h" |
#include "web/LinkHighlight.h" |
#include "web/LocalFileSystemClient.h" |
@@ -393,7 +391,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client) |
, m_isAcceleratedCompositingActive(false) |
, m_layerTreeViewCommitsDeferred(false) |
, m_recreatingGraphicsContext(false) |
- , m_geolocationClientProxy(adoptPtr(new GeolocationClientProxy(client ? client->geolocationClient() : 0))) |
, m_flingModifier(0) |
, m_flingSourceDevice(false) |
, m_fullscreenController(FullscreenController::create(this)) |
@@ -429,8 +426,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client) |
provideContextFeaturesTo(*m_page, ContextFeaturesClientImpl::create()); |
if (RuntimeEnabledFeatures::deviceOrientationEnabled()) |
DeviceOrientationInspectorAgent::provideTo(*m_page); |
- provideGeolocationTo(*m_page, m_geolocationClientProxy.get()); |
- m_geolocationClientProxy->setController(GeolocationController::from(m_page.get())); |
provideLocalFileSystemTo(*m_page, LocalFileSystemClient::create()); |
provideDatabaseClientTo(*m_page, DatabaseClientImpl::create()); |