mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
parent
5b8fbb023d
commit
a2f81d69c1
20 changed files with 92 additions and 63 deletions
|
@ -265,10 +265,11 @@ impl AudioContextMethods for AudioContext {
|
|||
fn CreateMediaElementSource(
|
||||
&self,
|
||||
media_element: &HTMLMediaElement,
|
||||
can_gc: CanGc,
|
||||
) -> Fallible<DomRoot<MediaElementAudioSourceNode>> {
|
||||
let global = self.global();
|
||||
let window = global.as_window();
|
||||
MediaElementAudioSourceNode::new(window, self, media_element)
|
||||
MediaElementAudioSourceNode::new(window, self, media_element, can_gc)
|
||||
}
|
||||
|
||||
/// <https://webaudio.github.io/web-audio-api/#dom-audiocontext-createmediastreamsource>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue