Index: tools/dom/scripts/generator.py |
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py |
index ef81ebd8d872d06b7b127e9c5a673ec37e4eab37..8243241e99f60e6f0cdf47fba2b60b973c6ec8de 100644 |
--- a/tools/dom/scripts/generator.py |
+++ b/tools/dom/scripts/generator.py |
@@ -1064,7 +1064,7 @@ _idl_type_registry = monitored.Dict('generator._idl_type_registry', { |
'Array': TypeData(clazz='Primitive', dart_type='List'), |
'custom': TypeData(clazz='Primitive', dart_type='dynamic'), |
'ClientRect': TypeData(clazz='Interface', |
- dart_type='Rect', suppress_interface=True), |
+ dart_type='Rectangle', suppress_interface=True), |
'Date': TypeData(clazz='Primitive', dart_type='DateTime', native_type='double'), |
'DOMObject': TypeData(clazz='Primitive', dart_type='Object', native_type='ScriptValue'), |
'DOMString': TypeData(clazz='Primitive', dart_type='String', native_type='String'), |
@@ -1099,7 +1099,8 @@ _idl_type_registry = monitored.Dict('generator._idl_type_registry', { |
'SVGElement': TypeData(clazz='Interface', custom_to_dart=True), |
'ClientRectList': TypeData(clazz='Interface', |
- item_type='ClientRect', dart_type='List<Rect>', suppress_interface=True), |
+ item_type='ClientRect', dart_type='List<Rectangle>', |
+ suppress_interface=True), |
'CSSRuleList': TypeData(clazz='Interface', |
item_type='CSSRule', suppress_interface=True), |
'CSSValueList': TypeData(clazz='Interface', |