Skip to content

Commit

Permalink
Fix case of InterfaceObjectClass in codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
nox committed Sep 6, 2016
1 parent 718d733 commit a60634b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/script/dom/bindings/codegen/CodegenRust.py
Expand Up @@ -2072,7 +2072,7 @@ def define(self):
"depth": self.descriptor.prototypeDepth
}
return """\
static InterfaceObjectClass: NonCallbackInterfaceObjectClass =
static INTERFACE_OBJECT_CLASS: NonCallbackInterfaceObjectClass =
NonCallbackInterfaceObjectClass::new(
&%(constructorBehavior)s,
%(representation)s,
Expand Down Expand Up @@ -2748,7 +2748,7 @@ def definition_body(self):
create_noncallback_interface_object(cx,
global,
interface_proto.handle(),
&InterfaceObjectClass,
&INTERFACE_OBJECT_CLASS,
%(static_methods)s,
%(static_attrs)s,
%(consts)s,
Expand Down

0 comments on commit a60634b

Please sign in to comment.