aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-07-14 22:15:44 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-07-14 22:15:44 +0530
commit2d4d9afcdaea630c55a1b0f0931334b4414e428e (patch)
treeb4aa2863bd532a4e4d00bee3452bced3b006d61f /src/components/script/dom
parent1c61963b519458ff2aebf29340c236d5755acae3 (diff)
parent5aceb80279c6a1f5f90c2b5e761f5e5c124c2745 (diff)
downloadservo-2d4d9afcdaea630c55a1b0f0931334b4414e428e.tar.gz
servo-2d4d9afcdaea630c55a1b0f0931334b4414e428e.zip
Merge pull request #2834 from Ms2ger/file-window
Remove the unused window field from File; r=Manishearth
Diffstat (limited to 'src/components/script/dom')
-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