Index: Source/core/frame/Navigator.h |
diff --git a/Source/core/frame/Navigator.h b/Source/core/frame/Navigator.h |
index 990c01659f0f0a92ef13d1d8b9375aed721a6ef1..3e1b14df4b72c2e86d540d4309bd2e8d199970cd 100644 |
--- a/Source/core/frame/Navigator.h |
+++ b/Source/core/frame/Navigator.h |
@@ -39,9 +39,14 @@ class PluginData; |
typedef int ExceptionCode; |
-class Navigator FINAL : public NavigatorBase, public ScriptWrappable, public RefCounted<Navigator>, public DOMWindowProperty, public Supplementable<Navigator> { |
+class Navigator FINAL : public RefCountedWillBeGarbageCollectedFinalized<Navigator>, public NavigatorBase, public ScriptWrappable, public DOMWindowProperty, public WillBeHeapSupplementable<Navigator> { |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Navigator); |
public: |
- static PassRefPtr<Navigator> create(LocalFrame* frame) { return adoptRef(new Navigator(frame)); } |
+ static PassRefPtrWillBeRawPtr<Navigator> create(LocalFrame* frame) |
+ { |
+ return adoptRefWillBeNoop(new Navigator(frame)); |
+ } |
+ |
virtual ~Navigator(); |
AtomicString language() const; |
@@ -59,11 +64,13 @@ public: |
// Relinquishes the storage lock, if one exists. |
void getStorageUpdates(); |
+ virtual void trace(Visitor*); |
+ |
private: |
explicit Navigator(LocalFrame*); |
- mutable RefPtrWillBePersistent<DOMPluginArray> m_plugins; |
- mutable RefPtrWillBePersistent<DOMMimeTypeArray> m_mimeTypes; |
+ mutable RefPtrWillBeMember<DOMPluginArray> m_plugins; |
+ mutable RefPtrWillBeMember<DOMMimeTypeArray> m_mimeTypes; |
}; |
} |