Index: Source/core/workers/SharedWorkerGlobalScope.h |
diff --git a/Source/core/workers/SharedWorkerGlobalScope.h b/Source/core/workers/SharedWorkerGlobalScope.h |
index 8dae3bba57e88441d3c0de7ae4dae6e0c7b0a59c..d2d4a6d53b87b50991d70e13c60f2ef2fc11e250 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*, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>); |
virtual ~SharedWorkerGlobalScope(); |
virtual bool isSharedWorkerGlobalScope() const OVERRIDE { return true; } |
@@ -64,7 +65,7 @@ namespace WebCore { |
String m_name; |
}; |
- PassRefPtr<MessageEvent> createConnectEvent(PassRefPtr<MessagePort>); |
+ PassRefPtr<MessageEvent> createConnectEvent(PassRefPtrWillBeRawPtr<MessagePort>); |
} // namespace WebCore |