diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-07-14 18:04:51 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-07-14 18:04:51 +0200 |
commit | 5aceb80279c6a1f5f90c2b5e761f5e5c124c2745 (patch) | |
tree | 6aa567ba391c9287a3c3fdaa35099cc810a32e0d /src/components/script/dom/file.rs | |
parent | 91de702edb50227b21626197a164c2b63cf4cc55 (diff) | |
download | servo-5aceb80279c6a1f5f90c2b5e761f5e5c124c2745.tar.gz servo-5aceb80279c6a1f5f90c2b5e761f5e5c124c2745.zip |
Remove the unused window field from File.
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 |