aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mediametadata.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/mediametadata.rs')
-rw-r--r--components/script/dom/mediametadata.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/script/dom/mediametadata.rs b/components/script/dom/mediametadata.rs
index 24f9a31120c..94e41bc058d 100644
--- a/components/script/dom/mediametadata.rs
+++ b/components/script/dom/mediametadata.rs
@@ -38,7 +38,11 @@ impl MediaMetadata {
Self::new_with_proto(global, None, init)
}
- fn new_with_proto(global: &Window, proto: Option<HandleObject>, init: &MediaMetadataInit) -> DomRoot<MediaMetadata> {
+ fn new_with_proto(
+ global: &Window,
+ proto: Option<HandleObject>,
+ init: &MediaMetadataInit,
+ ) -> DomRoot<MediaMetadata> {
reflect_dom_object2(Box::new(MediaMetadata::new_inherited(init)), global, proto)
}