bug 1328964 restore removal of declaration for non-existant Worklet::GetOrCreateGlobalScope() r?jib draft
authorKarl Tomlinson <karlt+@karlt.net>
Wed, 07 Mar 2018 17:50:06 +1300
changeset 769213 28e0653c262fe0d76206a5817aad7218e3fd5e2a
parent 769208 dde7042bb6775439c16ab935ca8d6c951a1a04a4
child 769214 067bcccfcb031b8e3c44e63d8c8024d07cac2fb3
push id103070
push userktomlinson@mozilla.com
push dateMon, 19 Mar 2018 05:04:09 +0000
reviewersjib
bugs1328964, 199424
milestone59.0a1
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
dom/worklet/Worklet.h
--- 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);