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

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

Issue 1726903002: Rename WorkerOrWorkletGlobalScope::script() to scriptController() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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: third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.cpp b/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.cpp
index e5a36e2ddba616367ee443603c5721b24faefff2..edd0d76a25875b2df5306ccfdd84968fa697a04f 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.cpp
@@ -57,13 +57,13 @@ void WorkerRuntimeAgent::enable(ErrorString* errorString)
return;
InspectorRuntimeAgent::enable(errorString);
- ScriptState* scriptState = m_workerGlobalScope->script()->scriptState();
+ ScriptState* scriptState = m_workerGlobalScope->scriptController()->scriptState();
reportExecutionContextCreated(scriptState, "", m_workerGlobalScope->url(), "", "");
}
ScriptState* WorkerRuntimeAgent::defaultScriptState()
{
- return m_workerGlobalScope->script()->scriptState();
+ return m_workerGlobalScope->scriptController()->scriptState();
}
void WorkerRuntimeAgent::muteConsole()
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerGlobalScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698