mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1000944. Allow unions and dictionaries that contain non-SpiderMonkey WebIDL interface types to be copy-constructed. r=dzbarsky
This commit is contained in:
parent
9364e14300
commit
7d9daf1fce
@ -45,7 +45,11 @@ def isTypeCopyConstructible(type):
|
||||
(type.isUnion() and
|
||||
CGUnionStruct.isUnionCopyConstructible(type)) or
|
||||
(type.isDictionary() and
|
||||
CGDictionary.isDictionaryCopyConstructible(type.inner)))
|
||||
CGDictionary.isDictionaryCopyConstructible(type.inner)) or
|
||||
# Interface types are only copy-constructible if they're Gecko
|
||||
# interfaces. SpiderMonkey interfaces are not copy-constructible
|
||||
# because of rooting issues.
|
||||
(type.isInterface() and type.isGeckoInterface()))
|
||||
|
||||
|
||||
def wantsAddProperty(desc):
|
||||
|
Loading…
Reference in New Issue
Block a user