mirror of
https://github.com/servo/servo.git
synced 2025-06-23 00:24:35 +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)
|
||||
}
|
||||
pub fn Constructor(owner: &JSRef<Window>,
|
||||
type_: DOMString,
|
||||
_type: DOMString,
|
||||
init: &ProgressEventBinding::ProgressEventInit)
|
||||
-> Fallible<Temporary<ProgressEvent>> {
|
||||
let ev = ProgressEvent::new(owner, init.lengthComputable, init.loaded, init.total);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue