diff --git a/core/src/avm1/object/xml_idmap_object.rs b/core/src/avm1/object/xml_idmap_object.rs index 744984009..78fc82ae7 100644 --- a/core/src/avm1/object/xml_idmap_object.rs +++ b/core/src/avm1/object/xml_idmap_object.rs @@ -185,12 +185,12 @@ impl<'gc> TObject<'gc> for XmlIdMapObject<'gc> { .set_attributes(gc_context, name, set_attributes, clear_attributes) } - fn proto(&self) -> Option> { - self.base().proto() + fn proto_value(&self) -> Value<'gc> { + self.base().proto_value() } - fn set_proto(&self, gc_context: MutationContext<'gc, '_>, prototype: Option>) { - self.base().set_proto(gc_context, prototype); + fn set_proto_value(&self, gc_context: MutationContext<'gc, '_>, prototype: Value<'gc>) { + self.base().set_proto_value(gc_context, prototype); } fn has_property(&self, activation: &mut Activation<'_, 'gc, '_>, name: &str) -> bool {