mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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
|
"depth": self.descriptor.prototypeDepth
|
||||||
}
|
}
|
||||||
return """\
|
return """\
|
||||||
static InterfaceObjectClass: NonCallbackInterfaceObjectClass =
|
static INTERFACE_OBJECT_CLASS: NonCallbackInterfaceObjectClass =
|
||||||
NonCallbackInterfaceObjectClass::new(
|
NonCallbackInterfaceObjectClass::new(
|
||||||
&%(constructorBehavior)s,
|
&%(constructorBehavior)s,
|
||||||
%(representation)s,
|
%(representation)s,
|
||||||
|
@ -2748,7 +2748,7 @@ rooted!(in(cx) let mut interface = ptr::null_mut());
|
||||||
create_noncallback_interface_object(cx,
|
create_noncallback_interface_object(cx,
|
||||||
global,
|
global,
|
||||||
interface_proto.handle(),
|
interface_proto.handle(),
|
||||||
&InterfaceObjectClass,
|
&INTERFACE_OBJECT_CLASS,
|
||||||
%(static_methods)s,
|
%(static_methods)s,
|
||||||
%(static_attrs)s,
|
%(static_attrs)s,
|
||||||
%(consts)s,
|
%(consts)s,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue