| Index: Source/core/dom/MessagePort.cpp
|
| diff --git a/Source/core/dom/MessagePort.cpp b/Source/core/dom/MessagePort.cpp
|
| index 769a4ef7307c3da932dc64d64aa68acb28b26333..36bcbea688ea154aaf5922a4805401cb3c008561 100644
|
| --- a/Source/core/dom/MessagePort.cpp
|
| +++ b/Source/core/dom/MessagePort.cpp
|
| @@ -43,9 +43,11 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassRefPtr<MessagePort> MessagePort::create(ExecutionContext& executionContext)
|
| +DEFINE_GC_INFO(MessagePort);
|
| +
|
| +PassRefPtrWillBeRawPtr<MessagePort> MessagePort::create(ExecutionContext& executionContext)
|
| {
|
| - RefPtr<MessagePort> port = adoptRef(new MessagePort(executionContext));
|
| + RefPtrWillBeRawPtr<MessagePort> port = adoptRefCountedWillBeRefCountedGarbageCollected(new MessagePort(executionContext));
|
| port->suspendIfNeeded();
|
| return port.release();
|
| }
|
|
|