avm1: Migrate XmlIdMapObject to proto_value

This commit is contained in:
relrelb 2021-04-01 10:19:21 +03:00 committed by kmeisthax
parent ea52562d06
commit be60aa5941
1 changed files with 4 additions and 4 deletions

View File

@ -185,12 +185,12 @@ impl<'gc> TObject<'gc> for XmlIdMapObject<'gc> {
.set_attributes(gc_context, name, set_attributes, clear_attributes)
}
fn proto(&self) -> Option<Object<'gc>> {
self.base().proto()
fn proto_value(&self) -> Value<'gc> {
self.base().proto_value()
}
fn set_proto(&self, gc_context: MutationContext<'gc, '_>, prototype: Option<Object<'gc>>) {
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 {