summaryrefslogtreecommitdiffstats
path: root/WebCore/html/canvas/Int16Array.idl
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/canvas/Int16Array.idl')
-rw-r--r--WebCore/html/canvas/Int16Array.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/html/canvas/Int16Array.idl b/WebCore/html/canvas/Int16Array.idl
index 2ac52fe..95c8204 100644
--- a/WebCore/html/canvas/Int16Array.idl
+++ b/WebCore/html/canvas/Int16Array.idl
@@ -32,6 +32,8 @@ module html {
CustomConstructor,
CustomToJS
] Int16Array : ArrayBufferView {
+ const unsigned int BYTES_PER_ELEMENT = 2;
+
// void set(in Int16Array array, [Optional] in unsigned long offset);
// void set(in sequence<long> array, [Optional] in unsigned long offset);
[Custom] void set();