Index: Source/modules/geolocation/testing/GeolocationClientMock.cpp |
diff --git a/Source/modules/geolocation/testing/GeolocationClientMock.cpp b/Source/modules/geolocation/testing/GeolocationClientMock.cpp |
index 7c281b6ba601a6b00bda02ddc0120afdbff96cbe..d613d973a8fd63d64150e1bd9a432875541c7bbf 100644 |
--- a/Source/modules/geolocation/testing/GeolocationClientMock.cpp |
+++ b/Source/modules/geolocation/testing/GeolocationClientMock.cpp |
@@ -126,11 +126,6 @@ void GeolocationClientMock::permissionTimerFired(Timer<GeolocationClientMock>* t |
m_pendingPermissions.clear(); |
} |
-void GeolocationClientMock::geolocationDestroyed() |
-{ |
- ASSERT(!m_isActive); |
-} |
- |
void GeolocationClientMock::startUpdating() |
{ |
ASSERT(!m_isActive); |
@@ -184,4 +179,14 @@ void GeolocationClientMock::clearError() |
m_errorMessage = String(); |
} |
+void GeolocationClientMock::trace(Visitor* visitor) |
+{ |
+#if ENABLE(OILPAN) |
+ visitor->trace(m_controllers); |
+#endif |
+ visitor->trace(m_lastPosition); |
+ visitor->trace(m_pendingPermissions); |
+ GeolocationClient::trace(visitor); |
+} |
+ |
} // namespace blink |