aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlmediaelement.rs
diff options
context:
space:
mode:
authorFernando Jiménez Moreno <ferjmoreno@gmail.com>2019-08-19 09:55:00 +0200
committerFernando Jiménez Moreno <ferjmoreno@gmail.com>2019-08-19 09:55:00 +0200
commit507a1e4370c3f626c686f63d4b64c1686e73adbd (patch)
tree7b473d7b5a09325df17b4fb9b1e32dcafe150e68 /components/script/dom/htmlmediaelement.rs
parent3658a8cc591ef4ca827ce1cda9565a1bca7d7b3c (diff)
downloadservo-507a1e4370c3f626c686f63d4b64c1686e73adbd.tar.gz
servo-507a1e4370c3f626c686f63d4b64c1686e73adbd.zip
Update servo-media. Remove implicit shutdown requests. It all happens automagicly now
Diffstat (limited to 'components/script/dom/htmlmediaelement.rs')
-rw-r--r--components/script/dom/htmlmediaelement.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/components/script/dom/htmlmediaelement.rs b/components/script/dom/htmlmediaelement.rs
index 4a4ef4c859e..8855e0ee578 100644
--- a/components/script/dom/htmlmediaelement.rs
+++ b/components/script/dom/htmlmediaelement.rs
@@ -1855,16 +1855,6 @@ impl Drop for HTMLMediaElement {
}
});
- if let Some(ref player) = *self.player.borrow() {
- let browsing_context_id = window.window_proxy().top_level_browsing_context_id().0;
- let client_context_id = ClientContextId::build(
- browsing_context_id.namespace_id.0,
- browsing_context_id.index.0.get(),
- );
- ServoMedia::get()
- .unwrap()
- .shutdown_player(&client_context_id, player.clone());
- }
self.remove_controls();
}
}