diff --git a/core/src/avm1/activation.rs b/core/src/avm1/activation.rs index f99090b57b7b..056df661fdc7 100644 --- a/core/src/avm1/activation.rs +++ b/core/src/avm1/activation.rs @@ -891,10 +891,7 @@ impl<'a, 'gc> Activation<'a, 'gc> { MovieClipReference::try_from_stage_object(self, bc).unwrap(), ); let name = func.name(); - let prototype = Object::new( - &self.context.strings, - Some(self.prototypes().object), - ); + let prototype = Object::new(&self.context.strings, Some(self.prototypes().object)); let func_obj = FunctionObject::bytecode(Gc::new(self.gc(), func)).build( &self.context.strings, self.prototypes().function,