Auto merge of #23523 - ceyusa:player-events-task-source, r=ferjm

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.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because no functional changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23523)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-06-06 11:30:22 -04:00 committed by GitHub
commit 9353bc9718
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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| {