Use media element task source to receive the player's events

This is crumb left behind when changing the usage of dom task source
to the proper media element task source.
This commit is contained in:
Víctor Manuel Jáquez Leal 2019-06-06 17:03:59 +02:00
parent 347d8bdf72
commit 985efb4b8d

View file

@ -1241,7 +1241,7 @@ impl HTMLMediaElement {
let window = window_from_node(self);
let (task_source, canceller) = window
.task_manager()
.dom_manipulation_task_source_with_canceller();
.media_element_task_source_with_canceller();
ROUTER.add_route(
action_receiver.to_opaque(),
Box::new(move |message| {