diff options
Diffstat (limited to 'Source/WebCore/html/ImageData.idl')
-rw-r--r-- | Source/WebCore/html/ImageData.idl | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Source/WebCore/html/ImageData.idl b/Source/WebCore/html/ImageData.idl index 44102a10e..37675e4fa 100644 --- a/Source/WebCore/html/ImageData.idl +++ b/Source/WebCore/html/ImageData.idl @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. + * Copyright (C) 2008-2009, 2016 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -10,7 +10,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of + * 3. Neither the name of Apple Inc. ("Apple") nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -27,13 +27,14 @@ */ [ + Constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh = 0), + Constructor(unsigned long sw, unsigned long sh), + ConstructorMayThrowException, CustomToJSObject, - ImplementationLacksVTable + Exposed=(Window,Worker), + ImplementationLacksVTable, ] interface ImageData { - readonly attribute long width; - readonly attribute long height; -#if !defined(LANGUAGE_JAVASCRIPT) || !LANGUAGE_JAVASCRIPT + readonly attribute unsigned long width; + readonly attribute unsigned long height; readonly attribute Uint8ClampedArray data; -#endif }; - |