Index: Source/core/html/ImageData.h |
diff --git a/Source/core/html/ImageData.h b/Source/core/html/ImageData.h |
index 5015885998b8a46a50aaea1c52d18ecff2c090be..1630fb9d09faf8e998feca69679d35f418245deb 100644 |
--- a/Source/core/html/ImageData.h |
+++ b/Source/core/html/ImageData.h |
@@ -37,10 +37,14 @@ |
namespace WebCore { |
+class ExceptionState; |
+ |
class ImageData : public RefCounted<ImageData>, public ScriptWrappable { |
public: |
static PassRefPtr<ImageData> create(const IntSize&); |
static PassRefPtr<ImageData> create(const IntSize&, PassRefPtr<Uint8ClampedArray>); |
+ static PassRefPtr<ImageData> create(unsigned width, unsigned height, ExceptionState&); |
+ static PassRefPtr<ImageData> create(Uint8ClampedArray*, unsigned width, unsigned height, ExceptionState&); |
IntSize size() const { return m_size; } |
int width() const { return m_size.width(); } |