Remove and allow some dead code.

This commit is contained in:
Ms2ger 2016-06-08 14:48:49 +02:00
parent 8f2d624cbf
commit 1bc0862214
28 changed files with 20 additions and 152 deletions

View file

@ -85,10 +85,6 @@ impl HTMLFormElement {
document,
HTMLFormElementBinding::Wrap)
}
pub fn generation_id(&self) -> GenerationId {
self.generation_id.get()
}
}
impl HTMLFormElementMethods for HTMLFormElement {
@ -662,6 +658,7 @@ impl HTMLFormElement {
#[derive(JSTraceable, HeapSizeOf, Clone)]
pub enum FormDatumValue {
#[allow(dead_code)]
File(Root<File>),
String(DOMString)
}
@ -701,6 +698,7 @@ pub enum FormMethod {
}
#[derive(HeapSizeOf)]
#[allow(dead_code)]
pub enum FormSubmittableElement {
ButtonElement(Root<HTMLButtonElement>),
InputElement(Root<HTMLInputElement>),