Move length and slice out of ArrayBufferView interface
authorjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Nov 2010 00:12:06 +0000 (00:12 +0000)
committerjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Nov 2010 00:12:06 +0000 (00:12 +0000)
commitffe4786eb05fad9cd45537dc6fc249756b73ad20
treeba19d0203b7fd5f7ad3135f8e158804fd4aaf09b
parentb193e6bf9aa18af791313076211c87b4d1ee109c
Move length and slice out of ArrayBufferView interface
https://bugs.webkit.org/show_bug.cgi?id=49697

Reviewed by Kenneth Russell.

No functionality change. Covered by existing ArrayBuffer tests.

* WebCore.gypi:
* WebCore.pro:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSArrayBufferViewCustom.cpp: Removed.
* bindings/v8/custom/V8ArrayBufferViewCustom.cpp: Removed.
* html/canvas/ArrayBufferView.h:
* html/canvas/ArrayBufferView.idl:
* html/canvas/Float32Array.cpp:
(WebCore::Float32Array::slice):
* html/canvas/Float32Array.h:
* html/canvas/Float32Array.idl:
* html/canvas/Int16Array.cpp:
(WebCore::Int16Array::slice):
* html/canvas/Int16Array.h:
* html/canvas/Int16Array.idl:
* html/canvas/Int32Array.cpp:
(WebCore::Int32Array::slice):
* html/canvas/Int32Array.h:
* html/canvas/Int32Array.idl:
* html/canvas/Int8Array.cpp:
(WebCore::Int8Array::slice):
* html/canvas/Int8Array.h:
* html/canvas/Int8Array.idl:
* html/canvas/TypedArrayBase.h:
(WebCore::TypedArrayBase::length):
* html/canvas/Uint16Array.cpp:
(WebCore::Uint16Array::slice):
* html/canvas/Uint16Array.h:
* html/canvas/Uint16Array.idl:
* html/canvas/Uint32Array.cpp:
(WebCore::Uint32Array::slice):
* html/canvas/Uint32Array.h:
* html/canvas/Uint32Array.idl:
* html/canvas/Uint8Array.cpp:
(WebCore::Uint8Array::slice):
* html/canvas/Uint8Array.h:
* html/canvas/Uint8Array.idl:
* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::readPixels):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@72343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
31 files changed:
WebCore/ChangeLog
WebCore/WebCore.gypi
WebCore/WebCore.pro
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/JSArrayBufferViewCustom.cpp [deleted file]
WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.cpp [deleted file]
WebCore/html/canvas/ArrayBufferView.h
WebCore/html/canvas/ArrayBufferView.idl
WebCore/html/canvas/Float32Array.cpp
WebCore/html/canvas/Float32Array.h
WebCore/html/canvas/Float32Array.idl
WebCore/html/canvas/Int16Array.cpp
WebCore/html/canvas/Int16Array.h
WebCore/html/canvas/Int16Array.idl
WebCore/html/canvas/Int32Array.cpp
WebCore/html/canvas/Int32Array.h
WebCore/html/canvas/Int32Array.idl
WebCore/html/canvas/Int8Array.cpp
WebCore/html/canvas/Int8Array.h
WebCore/html/canvas/Int8Array.idl
WebCore/html/canvas/TypedArrayBase.h
WebCore/html/canvas/Uint16Array.cpp
WebCore/html/canvas/Uint16Array.h
WebCore/html/canvas/Uint16Array.idl
WebCore/html/canvas/Uint32Array.cpp
WebCore/html/canvas/Uint32Array.h
WebCore/html/canvas/Uint32Array.idl
WebCore/html/canvas/Uint8Array.cpp
WebCore/html/canvas/Uint8Array.h
WebCore/html/canvas/Uint8Array.idl
WebCore/html/canvas/WebGLRenderingContext.cpp