| Index: Source/core/events/MutationEvent.h
|
| diff --git a/Source/core/events/MutationEvent.h b/Source/core/events/MutationEvent.h
|
| index 9e1d7d62a4a5f8861d7a061c796ea2625a075928..c86f2d1ae2117d63db53ef02861f475f3509b6bb 100644
|
| --- a/Source/core/events/MutationEvent.h
|
| +++ b/Source/core/events/MutationEvent.h
|
| @@ -39,15 +39,15 @@ namespace WebCore {
|
| REMOVAL = 3
|
| };
|
|
|
| - static PassRefPtrWillBeRawPtr<MutationEvent> create()
|
| + static PassRefPtr<MutationEvent> create()
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new MutationEvent);
|
| + return adoptRef(new MutationEvent);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<MutationEvent> create(const AtomicString& type, bool canBubble, PassRefPtr<Node> relatedNode = nullptr,
|
| + static PassRefPtr<MutationEvent> create(const AtomicString& type, bool canBubble, PassRefPtr<Node> relatedNode = nullptr,
|
| const String& prevValue = String(), const String& newValue = String(), const String& attrName = String(), unsigned short attrChange = 0)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new MutationEvent(type, canBubble, false, relatedNode, prevValue, newValue, attrName, attrChange));
|
| + return adoptRef(new MutationEvent(type, canBubble, false, relatedNode, prevValue, newValue, attrName, attrChange));
|
| }
|
|
|
| void initMutationEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<Node> relatedNode,
|
|
|