Index: Source/core/events/TouchEvent.h |
diff --git a/Source/core/events/TouchEvent.h b/Source/core/events/TouchEvent.h |
index ff0a766ce885925f37307eb20ed93f80723dddde..d929d9ecc9dc30e8454aa9bf2332fb256f1cf481 100644 |
--- a/Source/core/events/TouchEvent.h |
+++ b/Source/core/events/TouchEvent.h |
@@ -62,9 +62,9 @@ public: |
TouchList* targetTouches() const { return m_targetTouches.get(); } |
TouchList* changedTouches() const { return m_changedTouches.get(); } |
- void setTouches(PassRefPtr<TouchList> touches) { m_touches = touches; } |
- void setTargetTouches(PassRefPtr<TouchList> targetTouches) { m_targetTouches = targetTouches; } |
- void setChangedTouches(PassRefPtr<TouchList> changedTouches) { m_changedTouches = changedTouches; } |
+ void setTouches(PassRefPtrWillBeRawPtr<TouchList> touches) { m_touches = touches; } |
+ void setTargetTouches(PassRefPtrWillBeRawPtr<TouchList> targetTouches) { m_targetTouches = targetTouches; } |
+ void setChangedTouches(PassRefPtrWillBeRawPtr<TouchList> changedTouches) { m_changedTouches = changedTouches; } |
virtual bool isTouchEvent() const OVERRIDE; |
@@ -80,9 +80,9 @@ private: |
int pageY, |
bool ctrlKey, bool altKey, bool shiftKey, bool metaKey); |
- RefPtr<TouchList> m_touches; |
- RefPtr<TouchList> m_targetTouches; |
- RefPtr<TouchList> m_changedTouches; |
+ RefPtrWillBePersistent<TouchList> m_touches; |
+ RefPtrWillBePersistent<TouchList> m_targetTouches; |
+ RefPtrWillBePersistent<TouchList> m_changedTouches; |
}; |
class TouchEventDispatchMediator FINAL : public EventDispatchMediator { |