| Index: Source/core/events/CompositionEvent.h
|
| diff --git a/Source/core/events/CompositionEvent.h b/Source/core/events/CompositionEvent.h
|
| index 8da1b329b7907dbe91dccfacffca79616a96e9a4..96e5ac349eec635715f904e497b7b5d0ad09c5fa 100644
|
| --- a/Source/core/events/CompositionEvent.h
|
| +++ b/Source/core/events/CompositionEvent.h
|
| @@ -40,19 +40,19 @@ struct CompositionEventInit : UIEventInit {
|
|
|
| class CompositionEvent FINAL : public UIEvent {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<CompositionEvent> create()
|
| + static PassRefPtr<CompositionEvent> create()
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new CompositionEvent);
|
| + return adoptRef(new CompositionEvent);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<CompositionEvent> create(const AtomicString& type, PassRefPtr<AbstractView> view, const String& data, const Vector<CompositionUnderline>& underlines)
|
| + static PassRefPtr<CompositionEvent> create(const AtomicString& type, PassRefPtr<AbstractView> view, const String& data, const Vector<CompositionUnderline>& underlines)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new CompositionEvent(type, view, data, underlines));
|
| + return adoptRef(new CompositionEvent(type, view, data, underlines));
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<CompositionEvent> create(const AtomicString& type, const CompositionEventInit& initializer)
|
| + static PassRefPtr<CompositionEvent> create(const AtomicString& type, const CompositionEventInit& initializer)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new CompositionEvent(type, initializer));
|
| + return adoptRef(new CompositionEvent(type, initializer));
|
| }
|
|
|
| virtual ~CompositionEvent();
|
|
|