Index: Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp |
index 583c3801e492d56ee15e61eb28049563ea692ee9..6351d4efb8cc62b3c036508a41e8204ee2b5db59 100644 |
--- a/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/Source/core/workers/WorkerGlobalScope.cpp |
@@ -80,7 +80,7 @@ public: |
WorkerGlobalScope::WorkerGlobalScope(const KURL& url, const String& userAgent, WorkerThread* thread, double timeOrigin, PassOwnPtr<WorkerClients> workerClients) |
: m_url(url) |
, m_userAgent(userAgent) |
- , m_script(adoptPtr(new WorkerScriptController(this))) |
+ , m_script(adoptPtr(new WorkerScriptController(*this))) |
, m_thread(thread) |
, m_workerInspectorController(adoptPtr(new WorkerInspectorController(this))) |
, m_closing(false) |