diff options
Diffstat (limited to 'src/components/script/dom/file.rs')
-rw-r--r-- | src/components/script/dom/file.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/script/dom/file.rs b/src/components/script/dom/file.rs index 731f76770be..2df3abdc15c 100644 --- a/src/components/script/dom/file.rs +++ b/src/components/script/dom/file.rs @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -use dom::bindings::js::{JS, JSRef, Temporary}; +use dom::bindings::js::{JSRef, Temporary}; use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; use dom::bindings::codegen::Bindings::FileBinding; use dom::blob::{Blob, BlobType, FileTypeId}; @@ -13,7 +13,6 @@ use servo_util::str::DOMString; pub struct File { pub blob: Blob, pub name: DOMString, - pub window: JS<Window>, pub type_: BlobType } @@ -22,7 +21,6 @@ impl File { File { blob: Blob::new_inherited(window), name: name, - window: JS::from_rooted(window), type_: FileTypeId } // XXXManishearth Once Blob is able to store data |