Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: tools/dom/scripts/generator.py

Issue 11885042: Add Uint8ClampedArray to the list of typed arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'),
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698