mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Get destination node engine from context
This commit is contained in:
parent
1c2d872e33
commit
07c0450e29
4 changed files with 15 additions and 3 deletions
|
@ -21,7 +21,8 @@ impl AudioScheduledSourceNode {
|
|||
number_of_inputs: u32,
|
||||
number_of_outputs: u32) -> AudioScheduledSourceNode {
|
||||
AudioScheduledSourceNode {
|
||||
node: AudioNode::new_inherited(node_type, context, options, number_of_inputs, number_of_outputs),
|
||||
node: AudioNode::new_inherited(node_type, None /* node_id */,
|
||||
context, options, number_of_inputs, number_of_outputs),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue