Index: tools/dom/scripts/generator.py |
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py |
index f96c0aff0545c21d3db7923c5c0114c0bc249fd0..c687d260e81d13a35f53ea92d7c47e88135b4be4 100644 |
--- a/tools/dom/scripts/generator.py |
+++ b/tools/dom/scripts/generator.py |
@@ -74,9 +74,9 @@ interface_factories = { |
'Int16Array': '_TypedArrayFactoryProvider', |
'Int32Array': '_TypedArrayFactoryProvider', |
'Uint8Array': '_TypedArrayFactoryProvider', |
+ 'Uint8ClampedArray': '_TypedArrayFactoryProvider', |
'Uint16Array': '_TypedArrayFactoryProvider', |
'Uint32Array': '_TypedArrayFactoryProvider', |
- 'Uint8ClampedArray': '_TypedArrayFactoryProvider', |
} |
# |
@@ -852,9 +852,9 @@ class IDLTypeInfo(object): |
'Int16Array', |
'Int32Array', |
'Uint8Array', |
+ 'Uint8ClampedArray', |
'Uint16Array', |
'Uint32Array', |
- 'Uint8ClampedArray', |
] |
if self._idl_type in WTF_INCLUDES: |
@@ -1221,6 +1221,7 @@ _idl_type_registry = { |
'Int16Array': TypedArrayTypeData('int'), |
'Int32Array': TypedArrayTypeData('int'), |
'Uint8Array': TypedArrayTypeData('int'), |
+ 'Uint8ClampedArray': TypedArrayTypeData('int'), |
'Uint16Array': TypedArrayTypeData('int'), |
'Uint32Array': TypedArrayTypeData('int'), |