diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/web/WebGeolocationController.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/web/WebGeolocationController.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/chromium/third_party/WebKit/Source/web/WebGeolocationController.cpp b/chromium/third_party/WebKit/Source/web/WebGeolocationController.cpp index ea78f84aa90..b29ee379307 100644 --- a/chromium/third_party/WebKit/Source/web/WebGeolocationController.cpp +++ b/chromium/third_party/WebKit/Source/web/WebGeolocationController.cpp @@ -24,16 +24,13 @@ */ #include "config.h" -#include "WebGeolocationController.h" +#include "public/web/WebGeolocationController.h" -#include "WebGeolocationError.h" -#include "WebGeolocationPosition.h" #include "modules/geolocation/GeolocationController.h" #include "modules/geolocation/GeolocationError.h" #include "modules/geolocation/GeolocationPosition.h" - -#include "wtf/PassRefPtr.h" -#include "wtf/RefPtr.h" +#include "public/web/WebGeolocationError.h" +#include "public/web/WebGeolocationPosition.h" using namespace WebCore; @@ -41,12 +38,12 @@ namespace blink { void WebGeolocationController::positionChanged(const WebGeolocationPosition& webPosition) { - m_private->positionChanged(PassRefPtr<GeolocationPosition>(webPosition).get()); + m_private->positionChanged(static_cast<GeolocationPosition*>(webPosition)); } void WebGeolocationController::errorOccurred(const WebGeolocationError& webError) { - m_private->errorOccurred(PassRefPtr<GeolocationError>(webError).get()); + m_private->errorOccurred(static_cast<GeolocationError*>(webError)); } } // namespace blink |