#ifndef DOMWindowProperty_h
#define DOMWindowProperty_h
+#include "platform/heap/Handle.h"
+
namespace blink {
class LocalDOMWindow;
class LocalFrame;
-class DOMWindowProperty {
+class DOMWindowProperty : public WillBeGarbageCollectedMixin {
public:
explicit DOMWindowProperty(LocalFrame*);
LocalFrame* frame() const { return m_frame; }
+ virtual void trace(Visitor*);
+
protected:
+#if !ENABLE(OILPAN)
virtual ~DOMWindowProperty();
+#endif
- LocalFrame* m_frame;
+ RawPtrWillBeWeakMember<LocalFrame> m_frame;
+
+#if !ENABLE(OILPAN)
+private:
LocalDOMWindow* m_associatedDOMWindow;
+#endif
};
-}
+} // namespace blink
#endif