avm1: Removed redundant double registration of Key
This commit is contained in:
parent
cef7d3eba2
commit
adceceed5d
|
@ -294,16 +294,6 @@ pub fn create_globals<'gc>(
|
|||
)),
|
||||
EnumSet::empty(),
|
||||
);
|
||||
globals.define_value(
|
||||
gc_context,
|
||||
"Key",
|
||||
Value::Object(key::create_key_object(
|
||||
gc_context,
|
||||
Some(object_proto),
|
||||
Some(function_proto),
|
||||
)),
|
||||
EnumSet::empty(),
|
||||
);
|
||||
globals.define_value(
|
||||
gc_context,
|
||||
"Stage",
|
||||
|
|
Loading…
Reference in New Issue