Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1501)

Unified Diff: Source/core/workers/WorkerGlobalScope.cpp

Issue 27552003: Have WorkerScriptController::workerGlobalScope return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/v8/WorkerScriptController.cpp ('k') | Source/web/DatabaseObserver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/bindings/v8/WorkerScriptController.cpp ('k') | Source/web/DatabaseObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698