Index: runtime/vm/dart_api_message.cc |
diff --git a/runtime/vm/dart_api_message.cc b/runtime/vm/dart_api_message.cc |
index d9debad474484c9590dddc4194942e3549df0b66..623cfc137d99101b39b052012d0bc64ae509c0e4 100644 |
--- a/runtime/vm/dart_api_message.cc |
+++ b/runtime/vm/dart_api_message.cc |
@@ -794,7 +794,7 @@ Dart_CObject* ApiMessageReader::ReadInternalVMObject(intptr_t class_id, |
value = AllocateDartCObjectArray(0); |
AddBackRef(object_id, value, kIsDeserialized); |
// Read the content of the GrowableObjectArray. |
- Dart_CObject* content = ReadObjectImpl(); |
+ Dart_CObject* content = ReadObjectRef(); |
ASSERT(content->type == Dart_CObject_kArray); |
// Make the empty array allocated point to the backing store content. |
value->value.as_array.length = len; |