From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/ImageData.idl | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'Source/WebCore/html/ImageData.idl') 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 }; - -- cgit v1.2.1