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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.h

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/workers/WorkerGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
index 54fd8e5e995a0cbd40b7f0ab7e2ff1ad427c1bf8..e5a2dbac9cf01f9f38f6a1b4bc42dec2fe63063d 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
@@ -88,7 +88,7 @@ public:
String userAgent() const final;
void disableEval(const String& errorMessage) final;
- WorkerOrWorkletScriptController* script() final { return m_script.get(); }
+ WorkerOrWorkletScriptController* scriptController() final { return m_scriptController.get(); }
virtual void didEvaluateWorkerScript();
void dispose();
@@ -191,7 +191,7 @@ private:
mutable UseCounter::CountBits m_deprecationWarningBits;
- OwnPtrWillBeMember<WorkerOrWorkletScriptController> m_script;
+ OwnPtrWillBeMember<WorkerOrWorkletScriptController> m_scriptController;
WorkerThread* m_thread;
RefPtrWillBeMember<WorkerInspectorController> m_workerInspectorController;

Powered by Google App Engine
This is Rietveld 408576698