aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/errorevent.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-09-27 17:52:37 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-10-14 22:04:20 +0200
commit617fc08783d2356e644266d9e9addcd720a7138a (patch)
treea6fc12bb589d06b41de50a6c2612bcec46ab029b /components/script/dom/errorevent.rs
parent32daa17d5cbcad02db0713e21e52410cdc60480e (diff)
downloadservo-617fc08783d2356e644266d9e9addcd720a7138a.tar.gz
servo-617fc08783d2356e644266d9e9addcd720a7138a.zip
Generate all Derived implementations in codegen
Diffstat (limited to 'components/script/dom/errorevent.rs')
-rw-r--r--components/script/dom/errorevent.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/components/script/dom/errorevent.rs b/components/script/dom/errorevent.rs
index e58a80ca259..40865872a6b 100644
--- a/components/script/dom/errorevent.rs
+++ b/components/script/dom/errorevent.rs
@@ -6,7 +6,7 @@ use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::ErrorEventBinding;
use dom::bindings::codegen::Bindings::ErrorEventBinding::ErrorEventMethods;
use dom::bindings::codegen::Bindings::EventBinding::EventMethods;
-use dom::bindings::codegen::InheritTypes::{ErrorEventDerived, EventCast, EventTypeId};
+use dom::bindings::codegen::InheritTypes::EventCast;
use dom::bindings::error::Fallible;
use dom::bindings::global::GlobalRef;
use dom::bindings::js::{MutHeapJSVal, Root};
@@ -30,12 +30,6 @@ pub struct ErrorEvent {
error: MutHeapJSVal,
}
-impl ErrorEventDerived for Event {
- fn is_errorevent(&self) -> bool {
- *self.type_id() == EventTypeId::ErrorEvent
- }
-}
-
impl ErrorEvent {
fn new_inherited() -> ErrorEvent {
ErrorEvent {