Rename an unused parameter to silence a warning.

This commit is contained in:
Cameron Zwarich 2014-05-08 16:31:14 -07:00
parent bfffbe94ea
commit d56a308524

View file

@ -41,7 +41,7 @@ impl ProgressEvent {
ProgressEventBinding::Wrap) ProgressEventBinding::Wrap)
} }
pub fn Constructor(owner: &JSRef<Window>, pub fn Constructor(owner: &JSRef<Window>,
type_: DOMString, _type: DOMString,
init: &ProgressEventBinding::ProgressEventInit) init: &ProgressEventBinding::ProgressEventInit)
-> Fallible<Temporary<ProgressEvent>> { -> Fallible<Temporary<ProgressEvent>> {
let ev = ProgressEvent::new(owner, init.lengthComputable, init.loaded, init.total); let ev = ProgressEvent::new(owner, init.lengthComputable, init.loaded, init.total);