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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h

Issue 1728803002: Rename WorkerThread to WorkerScript Base URL: https://chromium.googlesource.com/chromium/src.git@workerscript-controller
Patch Set: 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/compositorworker/CompositorWorkerGlobalScope.h
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
index fb702fb505256dc3d1c4daaae154cd4bc6e0f006..f55a0db32f78010fc0042c6608771eae3a8a977a 100644
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
@@ -11,13 +11,13 @@
namespace blink {
-class CompositorWorkerThread;
-class WorkerThreadStartupData;
+class CompositorWorkerScript;
+class WorkerScriptStartupData;
class CompositorWorkerGlobalScope final : public WorkerGlobalScope {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<CompositorWorkerGlobalScope> create(CompositorWorkerThread*, PassOwnPtr<WorkerThreadStartupData>, double timeOrigin);
+ static PassRefPtrWillBeRawPtr<CompositorWorkerGlobalScope> create(CompositorWorkerScript*, PassOwnPtr<WorkerScriptStartupData>, double timeOrigin);
~CompositorWorkerGlobalScope() override;
// EventTarget
@@ -36,8 +36,8 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- CompositorWorkerGlobalScope(const KURL&, const String& userAgent, CompositorWorkerThread*, double timeOrigin, PassOwnPtr<SecurityOrigin::PrivilegeData>, PassOwnPtrWillBeRawPtr<WorkerClients>);
- CompositorWorkerThread* thread() const;
+ CompositorWorkerGlobalScope(const KURL&, const String& userAgent, CompositorWorkerScript*, double timeOrigin, PassOwnPtr<SecurityOrigin::PrivilegeData>, PassOwnPtrWillBeRawPtr<WorkerClients>);
+ CompositorWorkerScript* workerScript() const;
FrameRequestCallbackCollection m_callbackCollection;
};

Powered by Google App Engine
This is Rietveld 408576698