Index: Source/modules/geolocation/testing/GeolocationClientMock.cpp |
diff --git a/Source/modules/geolocation/testing/GeolocationClientMock.cpp b/Source/modules/geolocation/testing/GeolocationClientMock.cpp |
index 47dd046951af4272534bce5e93494871f71068b4..a3067e31d923e465891dfea4af4048dcc68b9b79 100644 |
--- a/Source/modules/geolocation/testing/GeolocationClientMock.cpp |
+++ b/Source/modules/geolocation/testing/GeolocationClientMock.cpp |
@@ -52,7 +52,7 @@ GeolocationClientMock::~GeolocationClientMock() |
ASSERT(!m_isActive); |
} |
-void GeolocationClientMock::setPosition(PassRefPtrWillBeRawPtr<GeolocationPosition> position) |
+void GeolocationClientMock::setPosition(GeolocationPosition* position) |
{ |
m_lastPosition = position; |
clearError(); |
@@ -174,7 +174,7 @@ void GeolocationClientMock::controllerTimerFired(Timer<GeolocationClientMock>* t |
(*it)->positionChanged(m_lastPosition.get()); |
} else if (m_hasError) { |
for (HashSet<GeolocationController*>::iterator it = controllers.begin(); it != controllers.end(); ++it) |
- (*it)->errorOccurred(GeolocationError::create(GeolocationError::PositionUnavailable, m_errorMessage).get()); |
+ (*it)->errorOccurred(GeolocationError::create(GeolocationError::PositionUnavailable, m_errorMessage)); |
} |
} |