mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Generate all Derived implementations in codegen
This commit is contained in:
parent
32daa17d5c
commit
617fc08783
93 changed files with 137 additions and 1027 deletions
|
@ -4,7 +4,6 @@
|
|||
|
||||
use dom::bindings::codegen::Bindings::BlobBinding;
|
||||
use dom::bindings::codegen::Bindings::BlobBinding::BlobMethods;
|
||||
use dom::bindings::codegen::InheritTypes::{BlobTypeId, FileDerived};
|
||||
use dom::bindings::error::Fallible;
|
||||
use dom::bindings::global::{GlobalField, GlobalRef};
|
||||
use dom::bindings::js::Root;
|
||||
|
@ -157,9 +156,3 @@ impl BlobMethods for Blob {
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
impl FileDerived for Blob {
|
||||
fn is_file(&self) -> bool {
|
||||
*self.type_id() == BlobTypeId::File
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue