Index: Source/core/workers/DedicatedWorkerGlobalScope.h |
diff --git a/Source/core/workers/DedicatedWorkerGlobalScope.h b/Source/core/workers/DedicatedWorkerGlobalScope.h |
index 72272621605bc8529c555e9be556322d35402ca8..4cfc7f4a5cd5425af30489e78ad5465291929fcb 100644 |
--- a/Source/core/workers/DedicatedWorkerGlobalScope.h |
+++ b/Source/core/workers/DedicatedWorkerGlobalScope.h |
@@ -34,6 +34,7 @@ |
#include "core/dom/MessagePort.h" |
#include "core/frame/csp/ContentSecurityPolicy.h" |
#include "core/workers/WorkerGlobalScope.h" |
+#include "heap/Handle.h" |
namespace WebCore { |
@@ -43,7 +44,7 @@ struct WorkerThreadStartupData; |
class DedicatedWorkerGlobalScope FINAL : public WorkerGlobalScope { |
public: |
typedef WorkerGlobalScope Base; |
- static PassRefPtr<DedicatedWorkerGlobalScope> create(DedicatedWorkerThread*, PassOwnPtr<WorkerThreadStartupData>, double timeOrigin); |
+ static PassRefPtrWillBeRawPtr<DedicatedWorkerGlobalScope> create(DedicatedWorkerThread*, PassOwnPtr<WorkerThreadStartupData>, double timeOrigin); |
virtual ~DedicatedWorkerGlobalScope(); |
virtual bool isDedicatedWorkerGlobalScope() const OVERRIDE { return true; } |
@@ -60,6 +61,8 @@ public: |
DedicatedWorkerThread* thread(); |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
DedicatedWorkerGlobalScope(const KURL&, const String& userAgent, DedicatedWorkerThread*, double timeOrigin, PassOwnPtr<WorkerClients>); |
}; |