Bug 1492014 remove declaration for non-existant WorkletThread::GetWorkerPrincipal() r=baku
authorKarl Tomlinson <karlt+@karlt.net>
Tue, 18 Sep 2018 09:36:44 +0000
changeset 487180 dc2b839f4e6863372fd67e229f808f4daf09891d
parent 487179 db8d6f1519509e2609d70184aa70d0aadfd77c9f
child 487181 c6bb9f8bbaa3573e7d28e11fe4bf755ef962aac1
push id246
push userfmarier@mozilla.com
push dateSat, 13 Oct 2018 00:15:40 +0000
reviewersbaku
bugs1492014
milestone64.0a1
Bug 1492014 remove declaration for non-existant WorkletThread::GetWorkerPrincipal() r=baku Differential Revision: https://phabricator.services.mozilla.com/D6099
dom/worklet/WorkletThread.h
--- a/dom/worklet/WorkletThread.h
+++ b/dom/worklet/WorkletThread.h
@@ -33,19 +33,16 @@ public:
   Get();
 
   static bool
   IsOnWorkletThread();
 
   static void
   AssertIsOnWorkletThread();
 
-  static JSPrincipals*
-  GetWorkerPrincipal();
-
   JSContext*
   GetJSContext() const;
 
   const WorkletLoadInfo&
   GetWorkletLoadInfo() const;
 
   nsresult
   DispatchRunnable(already_AddRefed<nsIRunnable> aRunnable);