aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/htmlconstructor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/bindings/htmlconstructor.rs')
-rw-r--r--components/script/dom/bindings/htmlconstructor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/htmlconstructor.rs b/components/script/dom/bindings/htmlconstructor.rs
index d34ee6eba0b..6ed725d3720 100644
--- a/components/script/dom/bindings/htmlconstructor.rs
+++ b/components/script/dom/bindings/htmlconstructor.rs
@@ -145,7 +145,7 @@ unsafe fn html_constructor(
// Step 6
rooted!(in(*cx) let mut prototype = ptr::null_mut::<JSObject>());
- get_desired_proto(cx, &call_args, proto_id, creator, prototype.handle_mut())?;
+ get_desired_proto(cx, call_args, proto_id, creator, prototype.handle_mut())?;
let entry = definition.construction_stack.borrow().last().cloned();
let result = match entry {