Fix case of InterfaceObjectClass in codegen

This commit is contained in:
Anthony Ramine 2016-09-02 12:51:09 +02:00
parent 718d733cc8
commit a60634b998

View file

@ -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,