summaryrefslogtreecommitdiffstats
path: root/WebCore/html/canvas/CanvasByteArray.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/canvas/CanvasByteArray.h')
-rw-r--r--WebCore/html/canvas/CanvasByteArray.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/html/canvas/CanvasByteArray.h b/WebCore/html/canvas/CanvasByteArray.h
index 329f396..69cadf7 100644
--- a/WebCore/html/canvas/CanvasByteArray.h
+++ b/WebCore/html/canvas/CanvasByteArray.h
@@ -38,6 +38,8 @@ namespace WebCore {
class CanvasByteArray : public CanvasArray {
public:
+ virtual bool isByteArray() const { return true; }
+
static PassRefPtr<CanvasByteArray> create(unsigned length);
static PassRefPtr<CanvasByteArray> create(signed char* array, unsigned length);
static PassRefPtr<CanvasByteArray> create(PassRefPtr<CanvasArrayBuffer> buffer, int offset, unsigned length);