aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/file.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-07-14 18:04:51 +0200
committerMs2ger <ms2ger@gmail.com>2014-07-14 18:04:51 +0200
commit5aceb80279c6a1f5f90c2b5e761f5e5c124c2745 (patch)
tree6aa567ba391c9287a3c3fdaa35099cc810a32e0d /src/components/script/dom/file.rs
parent91de702edb50227b21626197a164c2b63cf4cc55 (diff)
downloadservo-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.rs4
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