Skip to content

Commit

Permalink
Use innerContainerType in getConversionConfigForType.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Sep 21, 2016
1 parent b2fc80a commit 9371889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/bindings/codegen/CodegenRust.py
Expand Up @@ -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

Expand Down

0 comments on commit 9371889

Please sign in to comment.