summaryrefslogtreecommitdiffstats
path: root/WebCore/html/canvas/Float32Array.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/canvas/Float32Array.h')
-rw-r--r--WebCore/html/canvas/Float32Array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/canvas/Float32Array.h b/WebCore/html/canvas/Float32Array.h
index 8112264..ab57087 100644
--- a/WebCore/html/canvas/Float32Array.h
+++ b/WebCore/html/canvas/Float32Array.h
@@ -35,7 +35,7 @@ namespace WebCore {
class Float32Array : public TypedArrayBase<float> {
public:
static PassRefPtr<Float32Array> create(unsigned length);
- static PassRefPtr<Float32Array> create(float* array, unsigned length);
+ static PassRefPtr<Float32Array> create(const float* array, unsigned length);
static PassRefPtr<Float32Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length);
using TypedArrayBase<float>::set;