| Index: Source/modules/geolocation/GeolocationController.cpp
|
| diff --git a/Source/modules/geolocation/GeolocationController.cpp b/Source/modules/geolocation/GeolocationController.cpp
|
| index 335cd6a163e8cc02f579c22f9057dba81d52602f..cb174270ca2b92fd0f61eade3a93316ea63cef29 100644
|
| --- a/Source/modules/geolocation/GeolocationController.cpp
|
| +++ b/Source/modules/geolocation/GeolocationController.cpp
|
| @@ -90,12 +90,19 @@ GeolocationController::~GeolocationController()
|
| m_client->controllerForTestRemoved(this);
|
| }
|
|
|
| +// FIXME: Oilpan: Once GeolocationClient is on-heap m_client should be a strong
|
| +// pointer and |willBeDestroyed| can potentially be removed from Supplement.
|
| void GeolocationController::willBeDestroyed()
|
| {
|
| if (m_client)
|
| m_client->geolocationDestroyed();
|
| }
|
|
|
| +void GeolocationController::persistentHostHasBeenDestroyed()
|
| +{
|
| + observeContext(0);
|
| +}
|
| +
|
| PassOwnPtrWillBeRawPtr<GeolocationController> GeolocationController::create(LocalFrame& frame, GeolocationClient* client)
|
| {
|
| return adoptPtrWillBeNoop(new GeolocationController(frame, client));
|
|
|