| Index: runtime/bin/dartutils.h
|
| diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h
|
| index aca80013d7e7871614e798a677b20f6dad97a02d..83457dc27c09c0ec7a39ea214660defd1e9ce1fb 100644
|
| --- a/runtime/bin/dartutils.h
|
| +++ b/runtime/bin/dartutils.h
|
| @@ -206,7 +206,8 @@ class CObject {
|
| explicit CObject(Dart_CObject *cobject) : cobject_(cobject) {}
|
| Dart_CObject::Type type() { return cobject_->type; }
|
| Dart_CObject::TypedDataType byte_array_type() {
|
| - ASSERT(type() == Dart_CObject::kTypedData);
|
| + ASSERT(type() == Dart_CObject::kTypedData ||
|
| + type() == Dart_CObject::kExternalTypedData);
|
| return cobject_->value.as_typed_data.type;
|
| }
|
|
|
|
|