diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-09-27 17:52:37 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-10-14 22:04:20 +0200 |
commit | 617fc08783d2356e644266d9e9addcd720a7138a (patch) | |
tree | a6fc12bb589d06b41de50a6c2612bcec46ab029b /components/script/dom/webglcontextevent.rs | |
parent | 32daa17d5cbcad02db0713e21e52410cdc60480e (diff) | |
download | servo-617fc08783d2356e644266d9e9addcd720a7138a.tar.gz servo-617fc08783d2356e644266d9e9addcd720a7138a.zip |
Generate all Derived implementations in codegen
Diffstat (limited to 'components/script/dom/webglcontextevent.rs')
-rw-r--r-- | components/script/dom/webglcontextevent.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/components/script/dom/webglcontextevent.rs b/components/script/dom/webglcontextevent.rs index 52e3d4cdb3d..1bba8849eb4 100644 --- a/components/script/dom/webglcontextevent.rs +++ b/components/script/dom/webglcontextevent.rs @@ -6,7 +6,7 @@ use dom::bindings::codegen::Bindings::EventBinding::EventMethods; use dom::bindings::codegen::Bindings::WebGLContextEventBinding; use dom::bindings::codegen::Bindings::WebGLContextEventBinding::WebGLContextEventInit; use dom::bindings::codegen::Bindings::WebGLContextEventBinding::WebGLContextEventMethods; -use dom::bindings::codegen::InheritTypes::{EventCast, EventTypeId, WebGLContextEventDerived}; +use dom::bindings::codegen::InheritTypes::EventCast; use dom::bindings::error::Fallible; use dom::bindings::global::GlobalRef; use dom::bindings::js::{Root, RootedReference}; @@ -27,12 +27,6 @@ impl WebGLContextEventMethods for WebGLContextEvent { } } -impl WebGLContextEventDerived for Event { - fn is_webglcontextevent(&self) -> bool { - *self.type_id() == EventTypeId::WebGLContextEvent - } -} - impl WebGLContextEvent { pub fn new_inherited(status_message: DOMString) -> WebGLContextEvent { WebGLContextEvent { |