Closed Bug 1343799 Opened 7 years ago Closed 7 years ago

Label runnables in dom/media/TextTrackList.cpp

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: bechen, Assigned: bechen)

References

Details

(Whiteboard: [QDL][TDC-MVP][MEDIA])

Attachments

(1 file)

      No description provided.
Comment on attachment 8848999 [details]
Bug 1343799 - lable runnables in texttracklist.cpp.

https://reviewboard.mozilla.org/r/121854/#review123808
Attachment #8848999 - Flags: review?(jwwang) → review+
Comment on attachment 8848999 [details]
Bug 1343799 - lable runnables in texttracklist.cpp.

https://reviewboard.mozilla.org/r/121854/#review124322

::: dom/media/TextTrackList.cpp:191
(Diff revision 1)
>      event->InitEvent(NS_LITERAL_STRING("change"), false, false);
>      event->SetTrusted(true);
>  
>      nsCOMPtr<nsIRunnable> eventRunner = new ChangeEventRunner(this, event);
> -    NS_DispatchToMainThread(eventRunner);
> +    nsGlobalWindow::Cast(win)->Dispatch(
> +      "TextTrack::DispatchAsyncTrustedEvent", TaskCategory::Other,

nit, should be "TextTrackList::CreateAndDispatchChangeEvent"
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/9334df148915
lable runnables in texttracklist.cpp. r=jwwang
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/9334df148915
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Whiteboard: [QDL][TDC-MVP][MEDIA]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: