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

Unified Diff: third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.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/modules/worklet/WorkletGlobalScope.h
diff --git a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h b/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h
index a9498de73fea55ab74e1ef4ac85acbdb235d4328..007f9e1da57506ed8e7c428be10abe3198af5347 100644
--- a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h
+++ b/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.h
@@ -38,7 +38,7 @@ public:
// WorkerOrWorkletGlobalScope
ScriptWrappable* scriptWrappable() const final { return const_cast<WorkletGlobalScope*>(this); }
- WorkerOrWorkletScriptController* script() final { return m_script.get(); }
+ WorkerOrWorkletScriptController* scriptController() final { return m_scriptController.get(); }
// ScriptWrappable
v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationContext) final;
@@ -84,7 +84,7 @@ private:
KURL m_url;
String m_userAgent;
- OwnPtrWillBeMember<WorkerOrWorkletScriptController> m_script;
+ OwnPtrWillBeMember<WorkerOrWorkletScriptController> m_scriptController;
};
DEFINE_TYPE_CASTS(WorkletGlobalScope, ExecutionContext, context, context->isWorkletGlobalScope(), context.isWorkletGlobalScope());

Powered by Google App Engine
This is Rietveld 408576698