Index: Source/modules/serviceworkers/ServiceWorkerClients.h |
diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.h b/Source/modules/serviceworkers/ServiceWorkerClients.h |
index 46a9c167549c7d30712b6f5d5290724b3df76a05..f6bb3334d71246d45418b2fc161dadce3abb5795 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerClients.h |
+++ b/Source/modules/serviceworkers/ServiceWorkerClients.h |
@@ -6,6 +6,7 @@ |
#define ServiceWorkerClients_h |
#include "bindings/core/v8/ScriptWrappable.h" |
+#include "platform/heap/Handle.h" |
#include "public/platform/WebServiceWorkerClientsInfo.h" |
#include "wtf/Forward.h" |
@@ -16,14 +17,16 @@ class ExecutionContext; |
class ScriptState; |
class ScriptPromise; |
-class ServiceWorkerClients FINAL : public RefCounted<ServiceWorkerClients>, public ScriptWrappable { |
+class ServiceWorkerClients FINAL : public RefCountedWillBeGarbageCollected<ServiceWorkerClients>, public ScriptWrappable { |
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ServiceWorkerClients); |
public: |
- static PassRefPtr<ServiceWorkerClients> create(); |
- ~ServiceWorkerClients(); |
+ static PassRefPtrWillBeRawPtr<ServiceWorkerClients> create(); |
// ServiceWorkerClients.idl |
ScriptPromise getServiced(ScriptState*); |
+ void trace(Visitor*) { } |
+ |
private: |
ServiceWorkerClients(); |
}; |