mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Issue #2452 - Don't use WebVTTListener, JS wrapper, MediaShutdownManager in stable state
https://bugzilla.mozilla.org/show_bug.cgi?id=1443429 https://bugzilla.mozilla.org/show_bug.cgi?id=1515021
This commit is contained in:
parent
458f5eb385
commit
fbd829908e
7 changed files with 77 additions and 38 deletions
|
|
@ -118,9 +118,6 @@ protected:
|
|||
virtual JSObject* WrapNode(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
void OnChannelRedirect(nsIChannel* aChannel, nsIChannel* aNewChannel,
|
||||
uint32_t aFlags);
|
||||
// Open a new channel to the HTMLTrackElement's src attribute and call
|
||||
// mListener's LoadResource().
|
||||
void LoadResource();
|
||||
|
||||
friend class TextTrackCue;
|
||||
friend class WebVTTListener;
|
||||
|
|
@ -134,6 +131,9 @@ protected:
|
|||
|
||||
private:
|
||||
void DispatchLoadResource();
|
||||
// Open a new channel to the HTMLTrackElement's src attribute and call
|
||||
// mListener's LoadResource().
|
||||
void LoadResource(RefPtr<WebVTTListener>&& aWebVTTListener);
|
||||
bool mLoadResourceDispatched;
|
||||
|
||||
RefPtr<WindowDestroyObserver> mWindowDestroyObserver;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue