Index: Source/modules/serviceworkers/StashedPortCollection.cpp |
diff --git a/Source/modules/serviceworkers/StashedPortCollection.cpp b/Source/modules/serviceworkers/StashedPortCollection.cpp |
index 31fa906c8a31a82176c857e2165eb9e17464790d..8c66b57b5762cdb2718101bc5a644ca6f6e84d83 100644 |
--- a/Source/modules/serviceworkers/StashedPortCollection.cpp |
+++ b/Source/modules/serviceworkers/StashedPortCollection.cpp |
@@ -13,9 +13,9 @@ |
namespace blink { |
-PassRefPtrWillBeRawPtr<StashedPortCollection> StashedPortCollection::create(ExecutionContext* context) |
+StashedPortCollection* StashedPortCollection::create(ExecutionContext* context) |
{ |
- return adoptRefWillBeNoop(new StashedPortCollection(context)); |
+ return new StashedPortCollection(context); |
} |
StashedPortCollection::StashedPortCollection(ExecutionContext* context) |
@@ -54,9 +54,8 @@ ExecutionContext* StashedPortCollection::executionContext() const |
DEFINE_TRACE(StashedPortCollection) |
{ |
visitor->trace(m_ports); |
- EventTargetWithInlineData::trace(visitor); |
+ RefCountedGarbageCollectedEventTargetWithInlineData::trace(visitor); |
ContextLifecycleObserver::trace(visitor); |
} |
} // namespace blink |
- |