| Index: Source/core/workers/SharedWorkerGlobalScope.h
|
| diff --git a/Source/core/workers/SharedWorkerGlobalScope.h b/Source/core/workers/SharedWorkerGlobalScope.h
|
| index 8dae3bba57e88441d3c0de7ae4dae6e0c7b0a59c..cda0f0e7a9d9948fe20833db70210d91b601589f 100644
|
| --- a/Source/core/workers/SharedWorkerGlobalScope.h
|
| +++ b/Source/core/workers/SharedWorkerGlobalScope.h
|
| @@ -34,6 +34,7 @@
|
| #include "core/frame/ContentSecurityPolicy.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| #include "core/workers/WorkerThreadStartupData.h"
|
| +#include "heap/Handle.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -43,7 +44,7 @@ namespace WebCore {
|
| class SharedWorkerGlobalScope FINAL : public WorkerGlobalScope {
|
| public:
|
| typedef WorkerGlobalScope Base;
|
| - static PassRefPtr<SharedWorkerGlobalScope> create(const String& name, SharedWorkerThread*, PassOwnPtr<WorkerThreadStartupData>);
|
| + static PassRefPtrWillBeRawPtr<SharedWorkerGlobalScope> create(const String& name, SharedWorkerThread*, PassOwnPtr<WorkerThreadStartupData>);
|
| virtual ~SharedWorkerGlobalScope();
|
|
|
| virtual bool isSharedWorkerGlobalScope() const OVERRIDE { return true; }
|
| @@ -57,6 +58,8 @@ namespace WebCore {
|
|
|
| SharedWorkerThread* thread();
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| private:
|
| SharedWorkerGlobalScope(const String& name, const KURL&, const String& userAgent, SharedWorkerThread*, PassOwnPtr<WorkerClients>);
|
| virtual void logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack>) OVERRIDE;
|
|
|