Chromium Code Reviews

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

Issue 490983004: [WIP]Move GeolocationClient to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove GeolocationClient::geolocationDestroyed Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/modules/geolocation/GeolocationController.h
diff --git a/Source/modules/geolocation/GeolocationController.h b/Source/modules/geolocation/GeolocationController.h
index e50da4645eb490c40df6af4e5305a5fac1e7e878..314819dc63d340412a9ab534a8426a126497c337 100644
--- a/Source/modules/geolocation/GeolocationController.h
+++ b/Source/modules/geolocation/GeolocationController.h
@@ -71,7 +71,6 @@ public:
// Inherited from Supplement.
virtual void trace(Visitor*) OVERRIDE;
- virtual void willBeDestroyed() OVERRIDE;
virtual void persistentHostHasBeenDestroyed() OVERRIDE;
private:
@@ -80,9 +79,7 @@ private:
void startUpdatingIfNeeded();
void stopUpdatingIfNeeded();
- void detach();
-
- GeolocationClient* m_client;
+ RawPtrWillBeMember<GeolocationClient> m_client;
bool m_hasClientForTest;
PersistentWillBeMember<GeolocationPosition> m_lastPosition;
« no previous file with comments | « Source/modules/geolocation/GeolocationClient.h ('k') | Source/modules/geolocation/GeolocationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine