| Index: Source/modules/serviceworkers/Client.h
|
| diff --git a/Source/modules/serviceworkers/Client.h b/Source/modules/serviceworkers/Client.h
|
| index b4360003d145c112ab4810d5f337dcd7438f76e6..3bba27666c3100c78473bb5cb084ca1a10ff8900 100644
|
| --- a/Source/modules/serviceworkers/Client.h
|
| +++ b/Source/modules/serviceworkers/Client.h
|
| @@ -7,19 +7,22 @@
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "bindings/core/v8/SerializedScriptValue.h"
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/Forward.h"
|
|
|
| namespace WebCore {
|
|
|
| -class Client FINAL : public RefCounted<Client>, public ScriptWrappable {
|
| +class Client FINAL : public RefCountedWillBeGarbageCollected<Client>, public ScriptWrappable {
|
| + DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(Client);
|
| public:
|
| - static PassRefPtr<Client> create(unsigned id);
|
| - ~Client();
|
| + static PassRefPtrWillBeRawPtr<Client> create(unsigned id);
|
|
|
| // Client.idl
|
| unsigned id() const { return m_id; }
|
| void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, ExceptionState&);
|
|
|
| + void trace(Visitor*) { }
|
| +
|
| private:
|
| explicit Client(unsigned id);
|
|
|
|
|