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

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

Issue 204063002: Oilpan: add transition types to Navigator and its supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adjust use of 'virtual' Created 6 years, 9 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 | « Source/modules/gamepad/NavigatorGamepad.cpp ('k') | Source/modules/geolocation/NavigatorGeolocation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/geolocation/NavigatorGeolocation.h
diff --git a/Source/modules/geolocation/NavigatorGeolocation.h b/Source/modules/geolocation/NavigatorGeolocation.h
index 38e0800dc7ac326952810122e6bee9faaa31252b..aac9285bea9bcb4878bff4fd0fdf1039c5aea64a 100644
--- a/Source/modules/geolocation/NavigatorGeolocation.h
+++ b/Source/modules/geolocation/NavigatorGeolocation.h
@@ -30,7 +30,8 @@ class LocalFrame;
class Geolocation;
class Navigator;
-class NavigatorGeolocation FINAL : public Supplement<Navigator>, public DOMWindowProperty {
+class NavigatorGeolocation FINAL : public NoBaseWillBeGarbageCollectedFinalized<NavigatorGeolocation>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorGeolocation);
public:
virtual ~NavigatorGeolocation();
static NavigatorGeolocation& from(Navigator&);
@@ -38,11 +39,13 @@ public:
static Geolocation* geolocation(Navigator&);
Geolocation* geolocation() const;
+ void trace(Visitor*);
+
private:
NavigatorGeolocation(LocalFrame*);
static const char* supplementName();
- mutable RefPtrWillBePersistent<Geolocation> m_geolocation;
+ mutable RefPtrWillBeMember<Geolocation> m_geolocation;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/gamepad/NavigatorGamepad.cpp ('k') | Source/modules/geolocation/NavigatorGeolocation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698