diff options
Diffstat (limited to 'WebCore/platform/GeolocationService.cpp')
-rw-r--r-- | WebCore/platform/GeolocationService.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/platform/GeolocationService.cpp b/WebCore/platform/GeolocationService.cpp index 7e1f755..4676006 100644 --- a/WebCore/platform/GeolocationService.cpp +++ b/WebCore/platform/GeolocationService.cpp @@ -49,6 +49,7 @@ GeolocationService* GeolocationService::create(GeolocationServiceClient* client) return (*s_factoryFunction)(client); } +#if ENABLE(GEOLOCATION) void GeolocationService::useMock() { s_factoryFunction = &GeolocationServiceMock::create; @@ -70,4 +71,6 @@ void GeolocationService::errorOccurred() m_geolocationServiceClient->geolocationServiceErrorOccurred(this); } +#endif + } // namespace WebCore |