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

Unified Diff: Source/modules/geolocation/GeolocationController.cpp

Issue 335573004: Oilpan: Notify supplements of Page and LocalFrame destruction. (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/GeolocationController.cpp
diff --git a/Source/modules/geolocation/GeolocationController.cpp b/Source/modules/geolocation/GeolocationController.cpp
index 335cd6a163e8cc02f579c22f9057dba81d52602f..c075294778d3206af2315e74b3e6e473e6468a70 100644
--- a/Source/modules/geolocation/GeolocationController.cpp
+++ b/Source/modules/geolocation/GeolocationController.cpp
@@ -96,6 +96,11 @@ void GeolocationController::willBeDestroyed()
m_client->geolocationDestroyed();
}
+void GeolocationController::persistentHostHasBeenDestroyed()
+{
+ observeContext(0);
+}
+
PassOwnPtrWillBeRawPtr<GeolocationController> GeolocationController::create(LocalFrame& frame, GeolocationClient* client)
{
return adoptPtrWillBeNoop(new GeolocationController(frame, client));

Powered by Google App Engine
This is Rietveld 408576698