avm1: Migrate XmlIdMapObject to proto_value
This commit is contained in:
parent
ea52562d06
commit
be60aa5941
|
@ -185,12 +185,12 @@ impl<'gc> TObject<'gc> for XmlIdMapObject<'gc> {
|
||||||
.set_attributes(gc_context, name, set_attributes, clear_attributes)
|
.set_attributes(gc_context, name, set_attributes, clear_attributes)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn proto(&self) -> Option<Object<'gc>> {
|
fn proto_value(&self) -> Value<'gc> {
|
||||||
self.base().proto()
|
self.base().proto_value()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_proto(&self, gc_context: MutationContext<'gc, '_>, prototype: Option<Object<'gc>>) {
|
fn set_proto_value(&self, gc_context: MutationContext<'gc, '_>, prototype: Value<'gc>) {
|
||||||
self.base().set_proto(gc_context, prototype);
|
self.base().set_proto_value(gc_context, prototype);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn has_property(&self, activation: &mut Activation<'_, 'gc, '_>, name: &str) -> bool {
|
fn has_property(&self, activation: &mut Activation<'_, 'gc, '_>, name: &str) -> bool {
|
||||||
|
|
Loading…
Reference in New Issue