mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
clippy: Fix dereferenced warnings (#31770)
This commit is contained in:
parent
0cf2caba06
commit
02a0cdd6fa
43 changed files with 92 additions and 96 deletions
|
@ -39,14 +39,14 @@ impl MediaStreamAudioSourceNode {
|
|||
.id();
|
||||
let node = AudioNode::new_inherited(
|
||||
AudioNodeInit::MediaStreamSourceNode(track),
|
||||
&context.upcast(),
|
||||
context.upcast(),
|
||||
Default::default(),
|
||||
0, // inputs
|
||||
1, // outputs
|
||||
)?;
|
||||
Ok(MediaStreamAudioSourceNode {
|
||||
node,
|
||||
stream: Dom::from_ref(&stream),
|
||||
stream: Dom::from_ref(stream),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue