Index: Source/web/WebGeolocationController.cpp |
diff --git a/Source/web/WebGeolocationController.cpp b/Source/web/WebGeolocationController.cpp |
index 50b8a2264b4e05893fc07a215f81e300c117d553..b29ee379307a7e6d7f182473ab0d25a49087c7d6 100644 |
--- a/Source/web/WebGeolocationController.cpp |
+++ b/Source/web/WebGeolocationController.cpp |
@@ -32,21 +32,18 @@ |
#include "public/web/WebGeolocationError.h" |
#include "public/web/WebGeolocationPosition.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefPtr.h" |
- |
using namespace WebCore; |
namespace blink { |
void WebGeolocationController::positionChanged(const WebGeolocationPosition& webPosition) |
{ |
- m_private->positionChanged(PassRefPtrWillBeRawPtr<GeolocationPosition>(webPosition).get()); |
+ m_private->positionChanged(static_cast<GeolocationPosition*>(webPosition)); |
} |
void WebGeolocationController::errorOccurred(const WebGeolocationError& webError) |
{ |
- m_private->errorOccurred(PassRefPtrWillBeRawPtr<GeolocationError>(webError).get()); |
+ m_private->errorOccurred(static_cast<GeolocationError*>(webError)); |
} |
} // namespace blink |