mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix case of InterfaceObjectClass in codegen
This commit is contained in:
parent
718d733cc8
commit
a60634b998
1 changed files with 2 additions and 2 deletions
|
@ -2072,7 +2072,7 @@ class CGInterfaceObjectJSClass(CGThing):
|
|||
"depth": self.descriptor.prototypeDepth
|
||||
}
|
||||
return """\
|
||||
static InterfaceObjectClass: NonCallbackInterfaceObjectClass =
|
||||
static INTERFACE_OBJECT_CLASS: NonCallbackInterfaceObjectClass =
|
||||
NonCallbackInterfaceObjectClass::new(
|
||||
&%(constructorBehavior)s,
|
||||
%(representation)s,
|
||||
|
@ -2748,7 +2748,7 @@ rooted!(in(cx) let mut interface = ptr::null_mut());
|
|||
create_noncallback_interface_object(cx,
|
||||
global,
|
||||
interface_proto.handle(),
|
||||
&InterfaceObjectClass,
|
||||
&INTERFACE_OBJECT_CLASS,
|
||||
%(static_methods)s,
|
||||
%(static_attrs)s,
|
||||
%(consts)s,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue