Index: Source/wtf/TypedArrayBase.h |
diff --git a/Source/wtf/TypedArrayBase.h b/Source/wtf/TypedArrayBase.h |
index 6319f118e1879c2fd90bd94c369f24ff19c282b8..7679abccc6056aa4e33d37d81ab7cb2306f46abe 100644 |
--- a/Source/wtf/TypedArrayBase.h |
+++ b/Source/wtf/TypedArrayBase.h |
@@ -34,7 +34,9 @@ namespace WTF { |
template <typename T> |
class TypedArrayBase : public ArrayBufferView { |
- public: |
+public: |
+ typedef T ValueType; |
+ |
T* data() const { return static_cast<T*>(baseAddress()); } |
bool set(TypedArrayBase<T>* array, unsigned offset) |