aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/rtcerror.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/rtcerror.rs')
-rw-r--r--components/script/dom/rtcerror.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/script/dom/rtcerror.rs b/components/script/dom/rtcerror.rs
index de9a6e8645b..060e5445b75 100644
--- a/components/script/dom/rtcerror.rs
+++ b/components/script/dom/rtcerror.rs
@@ -45,7 +45,12 @@ impl RTCError {
Self::new_with_proto(global, None, init, message)
}
- fn new_with_proto(global: &GlobalScope, proto: Option<HandleObject>, init: &RTCErrorInit, message: DOMString) -> DomRoot<RTCError> {
+ fn new_with_proto(
+ global: &GlobalScope,
+ proto: Option<HandleObject>,
+ init: &RTCErrorInit,
+ message: DOMString,
+ ) -> DomRoot<RTCError> {
reflect_dom_object2(
Box::new(RTCError::new_inherited(global, init, message)),
global,