Chromium Code Reviews| Index: runtime/vm/object.h |
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
| index d79c28685965bc3fb8bb00dfb2cbdb136c7d2e4b..714ba27945b51a0f4d11f7c63ea746ee72d91247 100644 |
| --- a/runtime/vm/object.h |
| +++ b/runtime/vm/object.h |
| @@ -4998,6 +4998,10 @@ class ExternalUint8Array : public ByteArray { |
| raw_ptr()->external_data_->data()[index] = value; |
| } |
| + void* GetData() const { |
| + return raw_ptr()->external_data_->data(); |
| + } |
| + |
| void* GetPeer() const { |
| return raw_ptr()->external_data_->peer(); |
| } |