summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/html/canvas/Int16Array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/canvas/Int16Array.cpp')
-rw-r--r--Source/WebCore/html/canvas/Int16Array.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/WebCore/html/canvas/Int16Array.cpp b/Source/WebCore/html/canvas/Int16Array.cpp
index a3d04bc..9aaa1d5 100644
--- a/Source/WebCore/html/canvas/Int16Array.cpp
+++ b/Source/WebCore/html/canvas/Int16Array.cpp
@@ -24,9 +24,6 @@
*/
#include "config.h"
-
-#if ENABLE(3D_CANVAS) || ENABLE(BLOB)
-
#include "Int16Array.h"
namespace WebCore {
@@ -51,16 +48,14 @@ Int16Array::Int16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsi
{
}
-PassRefPtr<Int16Array> Int16Array::slice(int start) const
+PassRefPtr<Int16Array> Int16Array::subarray(int start) const
{
- return slice(start, length());
+ return subarray(start, length());
}
-PassRefPtr<Int16Array> Int16Array::slice(int start, int end) const
+PassRefPtr<Int16Array> Int16Array::subarray(int start, int end) const
{
- return sliceImpl<Int16Array>(start, end);
+ return subarrayImpl<Int16Array>(start, end);
}
}
-
-#endif // ENABLE(3D_CANVAS) || ENABLE(BLOB)