Remove generate_cacheable_wrapper_htmlelement!

This commit is contained in:
Tetsuharu OHZEKI 2014-06-28 04:41:48 +09:00
parent a9eaaa833f
commit 3a293b3f1c
65 changed files with 441 additions and 149 deletions

View file

@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use dom::bindings::js::{JSRef};
use dom::bindings::utils::{Reflectable, Reflector};
use dom::bindings::codegen::InheritTypes::HTMLMediaElementDerived;
use dom::document::Document;
use dom::element::{ElementTypeId, HTMLAudioElementTypeId, HTMLVideoElementTypeId};
@ -36,3 +37,9 @@ impl HTMLMediaElement {
pub trait HTMLMediaElementMethods {
}
impl Reflectable for HTMLMediaElement {
fn reflector<'a>(&'a self) -> &'a Reflector {
self.htmlelement.reflector()
}
}