mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Remove generate_cacheable_wrapper_htmlelement!
This commit is contained in:
parent
a9eaaa833f
commit
3a293b3f1c
65 changed files with 441 additions and 149 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue