Chromium Code Reviews| Index: runtime/vm/object.h |
| =================================================================== |
| --- runtime/vm/object.h (revision 14406) |
| +++ runtime/vm/object.h (working copy) |
| @@ -3878,6 +3878,8 @@ |
| static const intptr_t kBytesPerElement = 2; |
| static const intptr_t kMaxElements = String::kMaxElements; |
| + static intptr_t data_offset() { return OFFSET_OF(RawTwoByteString, data_); } |
| + |
| static intptr_t InstanceSize() { |
| ASSERT(sizeof(RawTwoByteString) == OFFSET_OF(RawTwoByteString, data_)); |
| return 0; |