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