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