| Index: Source/modules/serviceworkers/StashedPortCollection.h
|
| diff --git a/Source/modules/serviceworkers/StashedPortCollection.h b/Source/modules/serviceworkers/StashedPortCollection.h
|
| index fee5d88d7cf7dd3452cc3d6301c9efbb79b52fdc..3520d04c88b14c462ea2f4fb15b326fb14414838 100644
|
| --- a/Source/modules/serviceworkers/StashedPortCollection.h
|
| +++ b/Source/modules/serviceworkers/StashedPortCollection.h
|
| @@ -9,23 +9,21 @@
|
| #include "core/events/EventTarget.h"
|
| #include "modules/ModulesExport.h"
|
| #include "modules/serviceworkers/StashedMessagePort.h"
|
| -#include "wtf/RefCounted.h"
|
| +#include "platform/heap/Handle.h"
|
| +#include "wtf/Forward.h"
|
|
|
| namespace blink {
|
| class ScriptState;
|
| -class ScriptValue;
|
| -class ServiceWorkerGlobalScope;
|
|
|
| class MODULES_EXPORT StashedPortCollection final
|
| - : public EventTargetWithInlineData
|
| - , public RefCountedWillBeNoBase<StashedPortCollection>
|
| + : public RefCountedGarbageCollectedEventTargetWithInlineData<StashedPortCollection>
|
| , public ContextLifecycleObserver {
|
| DEFINE_WRAPPERTYPEINFO();
|
| - REFCOUNTED_EVENT_TARGET(StashedPortCollection);
|
| + REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(StashedPortCollection);
|
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StashedPortCollection);
|
| WTF_MAKE_NONCOPYABLE(StashedPortCollection);
|
| public:
|
| - static PassRefPtrWillBeRawPtr<StashedPortCollection> create(ExecutionContext*);
|
| + static StashedPortCollection* create(ExecutionContext*);
|
| virtual ~StashedPortCollection();
|
|
|
| void addPorts(const StashedMessagePortArray&);
|
|
|