Index: Source/core/events/MouseEvent.h |
diff --git a/Source/core/events/MouseEvent.h b/Source/core/events/MouseEvent.h |
index 0178527ce0d0c2ba94f0952ab867e166e810a3e5..513bf99d2840f5948020afd57bce27df0d75b6f9 100644 |
--- a/Source/core/events/MouseEvent.h |
+++ b/Source/core/events/MouseEvent.h |
@@ -50,20 +50,20 @@ struct MouseEventInit : public UIEventInit { |
class MouseEvent : public MouseRelatedEvent { |
public: |
- static PassRefPtr<MouseEvent> create() |
+ static PassRefPtrWillBeRawPtr<MouseEvent> create() |
{ |
- return adoptRef(new MouseEvent); |
+ return adoptRefWillBeRefCountedGarbageCollected(new MouseEvent); |
} |
- static PassRefPtr<MouseEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView>, |
+ static PassRefPtrWillBeRawPtr<MouseEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView>, |
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, PassRefPtrWillBeRawPtr<Clipboard>, bool isSimulated = false); |
- static PassRefPtr<MouseEvent> create(const AtomicString& eventType, PassRefPtrWillBeRawPtr<AbstractView>, const PlatformMouseEvent&, int detail, PassRefPtr<Node> relatedTarget); |
+ static PassRefPtrWillBeRawPtr<MouseEvent> create(const AtomicString& eventType, PassRefPtrWillBeRawPtr<AbstractView>, const PlatformMouseEvent&, int detail, PassRefPtr<Node> relatedTarget); |
- static PassRefPtr<MouseEvent> create(const AtomicString& eventType, const MouseEventInit&); |
+ static PassRefPtrWillBeRawPtr<MouseEvent> create(const AtomicString& eventType, const MouseEventInit&); |
virtual ~MouseEvent(); |