Index: runtime/vm/raw_object.h |
=================================================================== |
--- runtime/vm/raw_object.h (revision 15808) |
+++ runtime/vm/raw_object.h (working copy) |
@@ -1271,14 +1271,16 @@ |
class RawUint8Array : public RawByteArray { |
RAW_HEAP_OBJECT_IMPLEMENTATION(Uint8Array); |
- protected: |
// Variable length data follows here. |
uint8_t data_[0]; |
}; |
-class RawUint8ClampedArray : public RawUint8Array { |
+class RawUint8ClampedArray : public RawByteArray { |
RAW_HEAP_OBJECT_IMPLEMENTATION(Uint8ClampedArray); |
+ |
+ // Variable length data follows here. |
+ uint8_t data_[0]; |
}; |