mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Use innerContainerType in getConversionConfigForType.
This commit is contained in:
parent
b2fc80a847
commit
9371889a03
1 changed files with 1 additions and 1 deletions
|
@ -1266,7 +1266,7 @@ def typeNeedsCx(type, retVal=False):
|
|||
# Returns a conversion behavior suitable for a type
|
||||
def getConversionConfigForType(type, isEnforceRange, isClamp, treatNullAs):
|
||||
if type.isSequence():
|
||||
return getConversionConfigForType(type.unroll(), isEnforceRange, isClamp, treatNullAs)
|
||||
return getConversionConfigForType(innerContainerType(type), isEnforceRange, isClamp, treatNullAs)
|
||||
if type.isDOMString():
|
||||
assert not isEnforceRange and not isClamp
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue