Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2033)

Unified Diff: Source/modules/geolocation/testing/GeolocationClientMock.cpp

Issue 319863003: Enable Oilpan for modules/geolocation by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
}
}

Powered by Google App Engine
This is Rietveld 408576698