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

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

Issue 332153002: Oilpan: have GeolocationInspectorAgent persistently track its controllers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make hash sets over controllers will-be-persistents 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
« no previous file with comments | « no previous file | Source/modules/geolocation/GeolocationInspectorAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/geolocation/GeolocationInspectorAgent.h
diff --git a/Source/modules/geolocation/GeolocationInspectorAgent.h b/Source/modules/geolocation/GeolocationInspectorAgent.h
index e3c526059da3e03cc7d27a8816fbaec66e4f4176..429ceae6167b378911e4ed545dff6c1fc6dbbb0d 100644
--- a/Source/modules/geolocation/GeolocationInspectorAgent.h
+++ b/Source/modules/geolocation/GeolocationInspectorAgent.h
@@ -61,7 +61,8 @@ public:
private:
GeolocationInspectorAgent();
- WTF::HashSet<GeolocationController*> m_controllers;
+ typedef WillBeHeapHashSet<RawPtrWillBeMember<GeolocationController> > GeolocationControllers;
+ WillBePersistentHeapHashSet<RawPtrWillBeMember<GeolocationController> > m_controllers;
bool m_geolocationOverridden;
Persistent<GeolocationPosition> m_geolocationPosition;
Persistent<GeolocationPosition> m_platformGeolocationPosition;
« no previous file with comments | « no previous file | Source/modules/geolocation/GeolocationInspectorAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698