| Index: Source/core/events/CompositionEvent.h
|
| diff --git a/Source/core/events/CompositionEvent.h b/Source/core/events/CompositionEvent.h
|
| index 96e5ac349eec635715f904e497b7b5d0ad09c5fa..c74a16e50362ea3bdbc4d563621342d35359b20c 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 PassRefPtr<CompositionEvent> create()
|
| + static PassRefPtrWillBeRawPtr<CompositionEvent> create()
|
| {
|
| - return adoptRef(new CompositionEvent);
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new CompositionEvent);
|
| }
|
|
|
| - static PassRefPtr<CompositionEvent> create(const AtomicString& type, PassRefPtr<AbstractView> view, const String& data, const Vector<CompositionUnderline>& underlines)
|
| + static PassRefPtrWillBeRawPtr<CompositionEvent> create(const AtomicString& type, PassRefPtr<AbstractView> view, const String& data, const Vector<CompositionUnderline>& underlines)
|
| {
|
| - return adoptRef(new CompositionEvent(type, view, data, underlines));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new CompositionEvent(type, view, data, underlines));
|
| }
|
|
|
| - static PassRefPtr<CompositionEvent> create(const AtomicString& type, const CompositionEventInit& initializer)
|
| + static PassRefPtrWillBeRawPtr<CompositionEvent> create(const AtomicString& type, const CompositionEventInit& initializer)
|
| {
|
| - return adoptRef(new CompositionEvent(type, initializer));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new CompositionEvent(type, initializer));
|
| }
|
|
|
| virtual ~CompositionEvent();
|
|
|