Index: Source/core/frame/DOMWindowProperty.h |
diff --git a/Source/core/frame/DOMWindowProperty.h b/Source/core/frame/DOMWindowProperty.h |
index eb3542d30b268ca52d08918fd0ff5ce28a1d52ef..0b75cc1b3c6adb0eb7a44ceb7ff67304b1a304bb 100644 |
--- a/Source/core/frame/DOMWindowProperty.h |
+++ b/Source/core/frame/DOMWindowProperty.h |
@@ -26,12 +26,14 @@ |
#ifndef DOMWindowProperty_h |
#define DOMWindowProperty_h |
+#include "platform/heap/Handle.h" |
+ |
namespace blink { |
class LocalDOMWindow; |
class LocalFrame; |
-class DOMWindowProperty { |
+class DOMWindowProperty : public WillBeGarbageCollectedMixin { |
haraken
2014/09/08 07:25:57
Would it be possible to make DOMWindowProperty a G
sof
2014/09/08 21:17:45
The only potentially tricky part I can think of ri
sof
2014/09/10 20:41:51
The DOMWindowProperty changes to make it a GC mixi
|
public: |
explicit DOMWindowProperty(LocalFrame*); |
@@ -40,11 +42,15 @@ public: |
LocalFrame* frame() const { return m_frame; } |
+ virtual void trace(Visitor*); |
+ |
protected: |
+#if !ENABLE(OILPAN) |
virtual ~DOMWindowProperty(); |
+#endif |
- LocalFrame* m_frame; |
- LocalDOMWindow* m_associatedDOMWindow; |
+ RawPtrWillBeWeakMember<LocalFrame> m_frame; |
+ RawPtrWillBeMember<LocalDOMWindow> m_associatedDOMWindow; |
}; |
} |