diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-10-18 22:29:11 +0200 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-11-20 13:33:51 +0100 |
commit | 08f9f17ed36c1102db51eaa1a88e6914757f2026 (patch) | |
tree | e11be5f0d186cf229103bf2cdf0dc1c60da97720 /components/script/dom/htmlmediaelement.rs | |
parent | b494acbf19b52feb122d7d52a84c735e6522a5f5 (diff) | |
download | servo-08f9f17ed36c1102db51eaa1a88e6914757f2026.tar.gz servo-08f9f17ed36c1102db51eaa1a88e6914757f2026.zip |
Send MediaSessionAction from Android
Diffstat (limited to 'components/script/dom/htmlmediaelement.rs')
-rw-r--r-- | components/script/dom/htmlmediaelement.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/components/script/dom/htmlmediaelement.rs b/components/script/dom/htmlmediaelement.rs index 3204871d459..14a667b8918 100644 --- a/components/script/dom/htmlmediaelement.rs +++ b/components/script/dom/htmlmediaelement.rs @@ -1913,12 +1913,6 @@ impl HTMLMediaElement { self.media_element_load_algorithm(); } } - - fn send_media_session_event(&self, event: MediaSessionEvent) { - let global = self.global(); - let media_session = global.as_window().Navigator().MediaSession(); - media_session.send_event(event); - } } // XXX Placeholder for [https://github.com/servo/servo/issues/22293] |