diff options
Diffstat (limited to 'WebCore/html/canvas/Int32Array.cpp')
-rw-r--r-- | WebCore/html/canvas/Int32Array.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/WebCore/html/canvas/Int32Array.cpp b/WebCore/html/canvas/Int32Array.cpp index cc926a3..266c941 100644 --- a/WebCore/html/canvas/Int32Array.cpp +++ b/WebCore/html/canvas/Int32Array.cpp @@ -52,7 +52,12 @@ Int32Array::Int32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsi { } -PassRefPtr<ArrayBufferView> Int32Array::slice(int start, int end) const +PassRefPtr<Int32Array> Int32Array::slice(int start) const +{ + return slice(start, length()); +} + +PassRefPtr<Int32Array> Int32Array::slice(int start, int end) const { return sliceImpl<Int32Array>(start, end); } |