Index: Source/core/events/WindowEventContext.h |
diff --git a/Source/core/events/WindowEventContext.h b/Source/core/events/WindowEventContext.h |
index f7c2acd4a2a794c64ff3508d5e28752ed85dea23..5d75c2b0938a04808488898b65e201a71461b128 100644 |
--- a/Source/core/events/WindowEventContext.h |
+++ b/Source/core/events/WindowEventContext.h |
@@ -27,6 +27,7 @@ |
#ifndef WindowEventContext_h |
#define WindowEventContext_h |
+#include "heap/Handle.h" |
#include "wtf/RefPtr.h" |
namespace WebCore { |
@@ -46,7 +47,7 @@ public: |
bool handleLocalEvents(Event* event); |
private: |
- RefPtr<DOMWindow> m_window; |
+ RefPtrWillBePersistent<DOMWindow> m_window; |
RefPtr<EventTarget> m_target; |
}; |