aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlvideoelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmlvideoelement.rs')
-rw-r--r--src/components/script/dom/htmlvideoelement.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/script/dom/htmlvideoelement.rs b/src/components/script/dom/htmlvideoelement.rs
index 3650a5043d2..bcd8c43a2ab 100644
--- a/src/components/script/dom/htmlvideoelement.rs
+++ b/src/components/script/dom/htmlvideoelement.rs
@@ -5,6 +5,7 @@
use dom::bindings::codegen::Bindings::HTMLVideoElementBinding;
use dom::bindings::codegen::InheritTypes::HTMLVideoElementDerived;
use dom::bindings::js::{JSRef, Temporary};
+use dom::bindings::utils::{Reflectable, Reflector};
use dom::document::Document;
use dom::element::HTMLVideoElementTypeId;
use dom::eventtarget::{EventTarget, NodeTargetTypeId};
@@ -38,3 +39,9 @@ impl HTMLVideoElement {
pub trait HTMLVideoElementMethods {
}
+
+impl Reflectable for HTMLVideoElement {
+ fn reflector<'a>(&'a self) -> &'a Reflector {
+ self.htmlmediaelement.reflector()
+ }
+}