aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/audionode.rs
diff options
context:
space:
mode:
authorFernando Jiménez Moreno <ferjmoreno@gmail.com>2018-07-11 15:21:09 +0200
committerFernando Jiménez Moreno <ferjmoreno@gmail.com>2018-07-30 14:21:47 +0200
commit3dde730f9b4d3f4b05e89e9c62744c667d75b6a2 (patch)
tree693467cd52d87351541762d9a9269b0d3bdf76d5 /components/script/dom/audionode.rs
parent758ae94aa13b18a8e6014a6c771ffd3ee49f9817 (diff)
downloadservo-3dde730f9b4d3f4b05e89e9c62744c667d75b6a2.tar.gz
servo-3dde730f9b4d3f4b05e89e9c62744c667d75b6a2.zip
AudioParam automation rate setter
Diffstat (limited to 'components/script/dom/audionode.rs')
-rw-r--r--components/script/dom/audionode.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/audionode.rs b/components/script/dom/audionode.rs
index 3b9d6ce8ac3..7833856e421 100644
--- a/components/script/dom/audionode.rs
+++ b/components/script/dom/audionode.rs
@@ -236,7 +236,7 @@ impl AudioNodeMethods for AudioNode {
fn SetChannelInterpretation(&self, value: ChannelInterpretation) {
// Channel interpretation mode has no effect for nodes with no inputs.
if self.number_of_inputs == 0 {
- return Ok(());
+ return;
}
self.channel_interpretation.set(value);