mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Address review comments.
This commit is contained in:
parent
46a33b4b38
commit
91278da9dd
83 changed files with 316 additions and 374 deletions
|
@ -5,7 +5,7 @@
|
|||
use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};
|
||||
use dom::bindings::error::{Fallible};
|
||||
use dom::bindings::codegen::BindingDeclarations::FormDataBinding;
|
||||
use dom::bindings::js::{JS, JSRef, Temporary};
|
||||
use dom::bindings::js::{JS, JSRef, Temporary, OptionalUnrootable};
|
||||
use dom::blob::Blob;
|
||||
use dom::htmlformelement::HTMLFormElement;
|
||||
use dom::window::Window;
|
||||
|
@ -33,7 +33,7 @@ impl FormData {
|
|||
data: HashMap::new(),
|
||||
reflector_: Reflector::new(),
|
||||
window: window.unrooted(),
|
||||
form: form.map(|form| form.unrooted())
|
||||
form: form.unrooted(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue