Remove |unused| field from DOMClass.(fixes #1960)

This commit is contained in:
lpy 2014-03-22 15:17:44 +08:00
parent 7bd3ba9e1b
commit f6d912a94f
2 changed files with 0 additions and 2 deletions

View file

@ -1657,7 +1657,6 @@ def DOMClass(descriptor):
prototypeChainString = ', '.join(protoList)
return """DOMClass {
interface_chain: [ %s ],
unused: false,
native_hooks: &NativeHooks as *NativePropertyHooks
}""" % prototypeChainString

View file

@ -222,7 +222,6 @@ pub struct DOMClass {
// derivedness.
interface_chain: [PrototypeList::id::ID, ..MAX_PROTO_CHAIN_LENGTH],
unused: bool, // DOMObjectIsISupports (always false)
native_hooks: *NativePropertyHooks
}