Index: Source/core/workers/SharedWorkerThread.cpp |
diff --git a/Source/core/workers/SharedWorkerThread.cpp b/Source/core/workers/SharedWorkerThread.cpp |
index e9d1272e7192b15ee5aef1aa21fde92132c43c70..3688eb183788fa0f8eb7708d5884ede67d4aeef4 100644 |
--- a/Source/core/workers/SharedWorkerThread.cpp |
+++ b/Source/core/workers/SharedWorkerThread.cpp |
@@ -32,7 +32,7 @@ |
#include "core/workers/SharedWorkerThread.h" |
-#include "core/workers/SharedWorkerContext.h" |
+#include "core/workers/SharedWorkerGlobalScope.h" |
namespace WebCore { |
@@ -51,9 +51,9 @@ SharedWorkerThread::~SharedWorkerThread() |
{ |
} |
-PassRefPtr<WorkerContext> SharedWorkerThread::createWorkerContext(const KURL& url, const String& userAgent, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassRefPtr<SecurityOrigin>) |
+PassRefPtr<WorkerGlobalScope> SharedWorkerThread::createWorkerGlobalScope(const KURL& url, const String& userAgent, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassRefPtr<SecurityOrigin>) |
{ |
- return SharedWorkerContext::create(m_name, url, userAgent, this, contentSecurityPolicy, contentSecurityPolicyType); |
+ return SharedWorkerGlobalScope::create(m_name, url, userAgent, this, contentSecurityPolicy, contentSecurityPolicyType); |
} |
} // namespace WebCore |