mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
Rename an unused parameter to silence a warning.
This commit is contained in:
parent
bfffbe94ea
commit
d56a308524
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue