Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h |
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h |
index 23f52707ade2a2ab6ce28bcce97b0c9dcd051dcb..397b1e01fec9fbb6859b4dd54fcc1608fc8522f3 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h |
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h |
@@ -33,6 +33,7 @@ |
#include "bindings/v8/ScriptPromiseResolver.h" |
#include "core/dom/Promise.h" |
#include "core/workers/WorkerGlobalScope.h" |
+#include "heap/Handle.h" |
#include "wtf/Assertions.h" |
namespace WebCore { |
@@ -42,7 +43,7 @@ struct WorkerThreadStartupData; |
class ServiceWorkerGlobalScope FINAL : public WorkerGlobalScope { |
public: |
- static PassRefPtr<ServiceWorkerGlobalScope> create(ServiceWorkerThread*, PassOwnPtr<WorkerThreadStartupData>); |
+ static PassRefPtrWillBeRawPtr<ServiceWorkerGlobalScope> create(ServiceWorkerThread*, PassOwnPtr<WorkerThreadStartupData>); |
virtual ~ServiceWorkerGlobalScope(); |
virtual bool isServiceWorkerGlobalScope() const OVERRIDE { return true; } |
@@ -54,6 +55,8 @@ public: |
DEFINE_ATTRIBUTE_EVENT_LISTENER(activate); |
DEFINE_ATTRIBUTE_EVENT_LISTENER(fetch); |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorkerThread*, double timeOrigin, PassOwnPtr<WorkerClients>); |
}; |