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

Unified Diff: Source/web/GeolocationClientProxy.cpp

Issue 490143002: Move GeolocationClient to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Provide default empty impl of WebGeolocationClient::geolocationDestroyed() virtual Created 6 years, 4 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/web/GeolocationClientProxy.cpp
diff --git a/Source/web/GeolocationClientProxy.cpp b/Source/web/GeolocationClientProxy.cpp
index aef8befdfd473f4e8ffd9d845860f452a6f3c013..93f52e32508a27849dc623a83cf23087d3c6ce55 100644
--- a/Source/web/GeolocationClientProxy.cpp
+++ b/Source/web/GeolocationClientProxy.cpp
@@ -52,12 +52,6 @@ void GeolocationClientProxy::setController(GeolocationController* controller)
}
}
-void GeolocationClientProxy::geolocationDestroyed()
-{
- if (m_client)
- m_client->geolocationDestroyed();
-}
-
void GeolocationClientProxy::startUpdating()
{
m_client->startUpdating();
@@ -94,4 +88,10 @@ void GeolocationClientProxy::cancelPermissionRequest(Geolocation* geolocation)
m_client->cancelPermissionRequest(WebGeolocationPermissionRequest(geolocation));
}
+void GeolocationClientProxy::trace(Visitor* visitor)
+{
+ visitor->trace(m_lastPosition);
+ GeolocationClient::trace(visitor);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698