Index: Source/core/events/OverflowEvent.h |
diff --git a/Source/core/events/OverflowEvent.h b/Source/core/events/OverflowEvent.h |
index 2a20a8d53a6aff13f6aa5c6c333964677862e74e..f3b8dd0b396a489f35e345f86eaa49cd09bc0d0c 100644 |
--- a/Source/core/events/OverflowEvent.h |
+++ b/Source/core/events/OverflowEvent.h |
@@ -46,17 +46,17 @@ public: |
BOTH = 2 |
}; |
- static PassRefPtr<OverflowEvent> create() |
+ static PassRefPtrWillBeRawPtr<OverflowEvent> create() |
{ |
- return adoptRef(new OverflowEvent); |
+ return adoptRefCountedWillBeRefCountedGarbageCollected(new OverflowEvent); |
} |
- static PassRefPtr<OverflowEvent> create(bool horizontalOverflowChanged, bool horizontalOverflow, bool verticalOverflowChanged, bool verticalOverflow) |
+ static PassRefPtrWillBeRawPtr<OverflowEvent> create(bool horizontalOverflowChanged, bool horizontalOverflow, bool verticalOverflowChanged, bool verticalOverflow) |
{ |
- return adoptRef(new OverflowEvent(horizontalOverflowChanged, horizontalOverflow, verticalOverflowChanged, verticalOverflow)); |
+ return adoptRefCountedWillBeRefCountedGarbageCollected(new OverflowEvent(horizontalOverflowChanged, horizontalOverflow, verticalOverflowChanged, verticalOverflow)); |
} |
- static PassRefPtr<OverflowEvent> create(const AtomicString& type, const OverflowEventInit& initializer) |
+ static PassRefPtrWillBeRawPtr<OverflowEvent> create(const AtomicString& type, const OverflowEventInit& initializer) |
{ |
- return adoptRef(new OverflowEvent(type, initializer)); |
+ return adoptRefCountedWillBeRefCountedGarbageCollected(new OverflowEvent(type, initializer)); |
} |
unsigned short orient() const { return m_orient; } |