Index: Source/modules/serviceworkers/ServiceWorkerClient.h |
diff --git a/Source/modules/serviceworkers/ServiceWorkerClient.h b/Source/modules/serviceworkers/ServiceWorkerClient.h |
index 8a7b65cc68fc173ba416ae052ba48ef47b0d2a88..d609ccce4514f515d16fd32916e52d0bcecea44a 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerClient.h |
+++ b/Source/modules/serviceworkers/ServiceWorkerClient.h |
@@ -12,11 +12,10 @@ |
namespace blink { |
-class ServiceWorkerClient FINAL : public RefCountedWillBeGarbageCollected<ServiceWorkerClient>, public ScriptWrappable { |
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ServiceWorkerClient); |
+class ServiceWorkerClient FINAL : public GarbageCollected<ServiceWorkerClient>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PassRefPtrWillBeRawPtr<ServiceWorkerClient> create(unsigned id); |
+ static ServiceWorkerClient* create(unsigned id); |
// ServiceWorkerClient.idl |
unsigned id() const { return m_id; } |