mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Remove |unused| field from DOMClass.(fixes #1960)
This commit is contained in:
parent
7bd3ba9e1b
commit
f6d912a94f
2 changed files with 0 additions and 2 deletions
|
@ -1657,7 +1657,6 @@ def DOMClass(descriptor):
|
||||||
prototypeChainString = ', '.join(protoList)
|
prototypeChainString = ', '.join(protoList)
|
||||||
return """DOMClass {
|
return """DOMClass {
|
||||||
interface_chain: [ %s ],
|
interface_chain: [ %s ],
|
||||||
unused: false,
|
|
||||||
native_hooks: &NativeHooks as *NativePropertyHooks
|
native_hooks: &NativeHooks as *NativePropertyHooks
|
||||||
}""" % prototypeChainString
|
}""" % prototypeChainString
|
||||||
|
|
||||||
|
|
|
@ -222,7 +222,6 @@ pub struct DOMClass {
|
||||||
// derivedness.
|
// derivedness.
|
||||||
interface_chain: [PrototypeList::id::ID, ..MAX_PROTO_CHAIN_LENGTH],
|
interface_chain: [PrototypeList::id::ID, ..MAX_PROTO_CHAIN_LENGTH],
|
||||||
|
|
||||||
unused: bool, // DOMObjectIsISupports (always false)
|
|
||||||
native_hooks: *NativePropertyHooks
|
native_hooks: *NativePropertyHooks
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue