diff options
Diffstat (limited to 'components/script/dom/audionode.rs')
-rw-r--r-- | components/script/dom/audionode.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/audionode.rs b/components/script/dom/audionode.rs index e6eea52d5f5..f3b26937497 100644 --- a/components/script/dom/audionode.rs +++ b/components/script/dom/audionode.rs @@ -17,7 +17,7 @@ use std::cell::Cell; // 32 is the minimum required by the spec for createBuffer() and the deprecated // createScriptProcessor() and matches what is used by Blink and Gecko. // The limit protects against large memory allocations. -pub static MAX_CHANNEL_COUNT: u32 = 32; +pub const MAX_CHANNEL_COUNT: u32 = 32; #[dom_struct] pub struct AudioNode { |