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/xmlhttprequestupload.rs | |
parent | 32daa17d5cbcad02db0713e21e52410cdc60480e (diff) | |
download | servo-617fc08783d2356e644266d9e9addcd720a7138a.tar.gz servo-617fc08783d2356e644266d9e9addcd720a7138a.zip |
Generate all Derived implementations in codegen
Diffstat (limited to 'components/script/dom/xmlhttprequestupload.rs')
-rw-r--r-- | components/script/dom/xmlhttprequestupload.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/components/script/dom/xmlhttprequestupload.rs b/components/script/dom/xmlhttprequestupload.rs index 2456d1079a5..e426c63c30c 100644 --- a/components/script/dom/xmlhttprequestupload.rs +++ b/components/script/dom/xmlhttprequestupload.rs @@ -3,13 +3,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use dom::bindings::codegen::Bindings::XMLHttpRequestUploadBinding; -use dom::bindings::codegen::InheritTypes::EventTargetTypeId; -use dom::bindings::codegen::InheritTypes::XMLHttpRequestEventTargetTypeId; -use dom::bindings::codegen::InheritTypes::XMLHttpRequestUploadDerived; use dom::bindings::global::GlobalRef; use dom::bindings::js::Root; use dom::bindings::utils::reflect_dom_object; -use dom::eventtarget::EventTarget; use dom::xmlhttprequesteventtarget::XMLHttpRequestEventTarget; #[dom_struct] @@ -29,10 +25,3 @@ impl XMLHttpRequestUpload { XMLHttpRequestUploadBinding::Wrap) } } - -impl XMLHttpRequestUploadDerived for EventTarget { - fn is_xmlhttprequestupload(&self) -> bool { - *self.type_id() == - EventTargetTypeId::XMLHttpRequestEventTarget(XMLHttpRequestEventTargetTypeId::XMLHttpRequestUpload) - } -} |