summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/chromium/GeolocationServiceChromium.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/chromium/GeolocationServiceChromium.cpp')
-rw-r--r--WebCore/platform/chromium/GeolocationServiceChromium.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/chromium/GeolocationServiceChromium.cpp b/WebCore/platform/chromium/GeolocationServiceChromium.cpp
index 4402fe4..9333999 100644
--- a/WebCore/platform/chromium/GeolocationServiceChromium.cpp
+++ b/WebCore/platform/chromium/GeolocationServiceChromium.cpp
@@ -37,7 +37,7 @@ namespace WebCore {
GeolocationServiceChromium::GeolocationServiceChromium(GeolocationServiceClient* c)
: GeolocationService(c),
- m_geolocation(reinterpret_cast<Geolocation*>(c)),
+ m_geolocation(static_cast<Geolocation*>(c)),
m_geolocationServiceBridge(ChromiumBridge::createGeolocationServiceBridge(this)),
m_lastError(PositionError::create(PositionError::POSITION_UNAVAILABLE, ""))
{