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

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

Issue 2312493002: [worklets] Introduce ThreadedWorkletMessagingProxy and AnimationWorkletMessagaingProxy. (Closed)
Patch Set: rebase. Created 4 years, 3 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/Worklet.h
diff --git a/third_party/WebKit/Source/core/workers/Worklet.h b/third_party/WebKit/Source/core/workers/Worklet.h
index 549e542a976cd9248e70bd36add6a47a8e2a7137..cb40d1f357c14f254086a5cfd2a949616ea56a29 100644
--- a/third_party/WebKit/Source/core/workers/Worklet.h
+++ b/third_party/WebKit/Source/core/workers/Worklet.h
@@ -24,6 +24,9 @@ class CORE_EXPORT Worklet : public GarbageCollectedFinalized<Worklet>, public Sc
USING_GARBAGE_COLLECTED_MIXIN(Worklet);
WTF_MAKE_NONCOPYABLE(Worklet);
public:
+ virtual void initialize() {}
+ virtual bool isInitialized() const { return true; }
+
virtual WorkletGlobalScopeProxy* workletGlobalScopeProxy() const = 0;
// Worklet

Powered by Google App Engine
This is Rietveld 408576698