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
|
@ -357,8 +357,13 @@ impl BaseAudioContextMethods for BaseAudioContext {
|
|||
}
|
||||
|
||||
/// <https://webaudio.github.io/web-audio-api/#dom-baseaudiocontext-creategain>
|
||||
fn CreateGain(&self) -> Fallible<DomRoot<GainNode>> {
|
||||
GainNode::new(self.global().as_window(), self, &GainOptions::empty())
|
||||
fn CreateGain(&self, can_gc: CanGc) -> Fallible<DomRoot<GainNode>> {
|
||||
GainNode::new(
|
||||
self.global().as_window(),
|
||||
self,
|
||||
&GainOptions::empty(),
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
|
||||
/// <https://webaudio.github.io/web-audio-api/#dom-baseaudiocontext-createpanner>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue