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

Unified Diff: Source/core/inspector/WorkerRuntimeAgent.cpp

Issue 1115923002: workers: Rename WorkerThread to WorkerScript. Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 7 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
Index: Source/core/inspector/WorkerRuntimeAgent.cpp
diff --git a/Source/core/inspector/WorkerRuntimeAgent.cpp b/Source/core/inspector/WorkerRuntimeAgent.cpp
index 3bb1e1206dd9390ff52ae552b77fb4b113882624..6c19e28926f98906d96592acf231747ed6340e3f 100644
--- a/Source/core/inspector/WorkerRuntimeAgent.cpp
+++ b/Source/core/inspector/WorkerRuntimeAgent.cpp
@@ -60,13 +60,13 @@ void WorkerRuntimeAgent::enable(ErrorString* errorString)
return;
InspectorRuntimeAgent::enable(errorString);
- addExecutionContextToFrontend(m_workerGlobalScope->script()->scriptState(), true, m_workerGlobalScope->url(), "");
+ addExecutionContextToFrontend(m_workerGlobalScope->scriptController()->scriptState(), true, m_workerGlobalScope->url(), "");
}
InjectedScript WorkerRuntimeAgent::injectedScriptForEval(ErrorString* error, const int* executionContextId)
{
if (!executionContextId)
- return injectedScriptManager()->injectedScriptFor(m_workerGlobalScope->script()->scriptState());
+ return injectedScriptManager()->injectedScriptFor(m_workerGlobalScope->scriptController()->scriptState());
InjectedScript injectedScript = injectedScriptManager()->injectedScriptForId(*executionContextId);
if (injectedScript.isEmpty())

Powered by Google App Engine
This is Rietveld 408576698