bug 1328964 restore removal of declaration for non-existant Worklet::GetOrCreateGlobalScope() r?jib
Lost in rebase of "part 2 - WorkletThread"
Addresses https://reviewboard.mozilla.org/r/199424/#comment296308
MozReview-Commit-ID: FCI4MO3APfZ
--- a/dom/worklet/Worklet.h
+++ b/dom/worklet/Worklet.h
@@ -81,18 +81,16 @@ public:
virtual JSObject*
WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
already_AddRefed<Promise>
Import(const nsAString& aModuleURL, CallerType aCallerType,
ErrorResult& aRv);
- WorkletGlobalScope*
- GetOrCreateGlobalScope(JSContext* aCx);
WorkletType Type() const
{
return mWorkletType;
}
static already_AddRefed<WorkletGlobalScope>
CreateGlobalScope(JSContext* aCx, WorkletType aWorkletType);