Index: Source/core/events/MouseEvent.h |
diff --git a/Source/core/events/MouseEvent.h b/Source/core/events/MouseEvent.h |
index a61c73e5ced862170dd634c4c4b6c98201e1eda7..8b17aab8efee8c926b03cdd60f1b2f690c70c308 100644 |
--- a/Source/core/events/MouseEvent.h |
+++ b/Source/core/events/MouseEvent.h |
@@ -59,7 +59,7 @@ public: |
int detail, int screenX, int screenY, int pageX, int pageY, |
int movementX, int movementY, |
bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button, |
- PassRefPtr<EventTarget> relatedTarget, PassRefPtr<Clipboard>, bool isSimulated = false); |
+ PassRefPtr<EventTarget> relatedTarget, PassRefPtrWillBeRawPtr<Clipboard>, bool isSimulated = false); |
static PassRefPtr<MouseEvent> create(const AtomicString& eventType, PassRefPtr<AbstractView>, const PlatformMouseEvent&, int detail, PassRefPtr<Node> relatedTarget); |
@@ -96,7 +96,7 @@ protected: |
int detail, int screenX, int screenY, int pageX, int pageY, |
int movementX, int movementY, |
bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button, |
- PassRefPtr<EventTarget> relatedTarget, PassRefPtr<Clipboard>, bool isSimulated); |
+ PassRefPtr<EventTarget> relatedTarget, PassRefPtrWillBeRawPtr<Clipboard>, bool isSimulated); |
MouseEvent(const AtomicString& type, const MouseEventInit&); |
@@ -106,7 +106,7 @@ private: |
unsigned short m_button; |
bool m_buttonDown; |
RefPtr<EventTarget> m_relatedTarget; |
- RefPtr<Clipboard> m_clipboard; |
+ RefPtrWillBePersistent<Clipboard> m_clipboard; |
}; |
class SimulatedMouseEvent FINAL : public MouseEvent { |