Index: Source/core/events/NodeEventContext.h |
diff --git a/Source/core/events/NodeEventContext.h b/Source/core/events/NodeEventContext.h |
index bf9a5e513c76462877196c842b5185a62aac2c8a..3260367211ecacbfde43b479876ba77fc611f837 100644 |
--- a/Source/core/events/NodeEventContext.h |
+++ b/Source/core/events/NodeEventContext.h |
@@ -39,10 +39,12 @@ class NodeList; |
class TouchEventContext; |
class NodeEventContext { |
+ ALLOW_ONLY_INLINE_ALLOCATION(); |
public: |
// FIXME: Use ContainerNode instead of Node. |
- NodeEventContext(PassRefPtr<Node>, PassRefPtr<EventTarget> currentTarget); |
+ NodeEventContext(PassRefPtrWillBeRawPtr<Node>, PassRefPtr<EventTarget> currentTarget); |
~NodeEventContext(); |
+ void trace(Visitor*); |
Node* node() const { return m_node.get(); } |
@@ -57,7 +59,7 @@ public: |
void handleLocalEvents(Event*) const; |
private: |
- RefPtr<Node> m_node; |
+ RefPtrWillBeMember<Node> m_node; |
RefPtr<EventTarget> m_currentTarget; |
RefPtr<TreeScopeEventContext> m_treeScopeEventContext; |
}; |