| 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
|
|
|