mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove and allow some dead code.
This commit is contained in:
parent
8f2d624cbf
commit
1bc0862214
28 changed files with 20 additions and 152 deletions
|
@ -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>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue