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

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

Issue 2481843003: Worker: Add WorkerOrWorkletGlobalScope::thread() interface (Closed)
Patch Set: Created 4 years, 1 month 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 07723fed61386d84e038170163f009cf785386c4..f369d64786719d1f1a3fee36c0d6d5c7279a05a2 100644
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.h
@@ -15,6 +15,7 @@
namespace blink {
class CompositorWorkerThread;
+class InProcessWorkerObjectProxy;
class WorkerThreadStartupData;
class MODULES_EXPORT CompositorWorkerGlobalScope final
@@ -56,7 +57,8 @@ class MODULES_EXPORT CompositorWorkerGlobalScope final
double timeOrigin,
std::unique_ptr<SecurityOrigin::PrivilegeData>,
WorkerClients*);
- CompositorWorkerThread* thread() const;
+
+ InProcessWorkerObjectProxy& workerObjectProxy() const;
bool m_executingAnimationFrameCallbacks;
FrameRequestCallbackCollection m_callbackCollection;

Powered by Google App Engine
This is Rietveld 408576698