| Index: runtime/vm/dart_api_impl_test.cc | 
| diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc | 
| index b28aed7ff723155384426a34b498595d50971808..c1b105b6d621ad186088d790a080081bfe394f54 100644 | 
| --- a/runtime/vm/dart_api_impl_test.cc | 
| +++ b/runtime/vm/dart_api_impl_test.cc | 
| @@ -2890,23 +2890,31 @@ TEST_CASE(ImportLibrary5) { | 
|  | 
| void NewNativePort_send123(Dart_Port dest_port_id, | 
| Dart_Port reply_port_id, | 
| -                           uint8_t* data) { | 
| +                           Dart_CObject *message) { | 
| +  // Gets a null message. | 
| +  EXPECT_NOTNULL(message); | 
| +  EXPECT_EQ(Dart_CObject::kNull, message->type); | 
| + | 
| // Post integer value. | 
| -  Dart_CObject object; | 
| -  object.type = Dart_CObject::kInt32; | 
| -  object.value.as_int32 = 123; | 
| -  Dart_PostCObject(reply_port_id, &object); | 
| +  Dart_CObject response; | 
| +  response.type = Dart_CObject::kInt32; | 
| +  response.value.as_int32 = 123; | 
| +  Dart_PostCObject(reply_port_id, &response); | 
| } | 
|  | 
|  | 
| void NewNativePort_send321(Dart_Port dest_port_id, | 
| Dart_Port reply_port_id, | 
| -                           uint8_t* data) { | 
| +                           Dart_CObject* message) { | 
| +  // Gets a null message. | 
| +  EXPECT_NOTNULL(message); | 
| +  EXPECT_EQ(Dart_CObject::kNull, message->type); | 
| + | 
| // Post integer value. | 
| -  Dart_CObject object; | 
| -  object.type = Dart_CObject::kInt32; | 
| -  object.value.as_int32 = 321; | 
| -  Dart_PostCObject(reply_port_id, &object); | 
| +  Dart_CObject response; | 
| +  response.type = Dart_CObject::kInt32; | 
| +  response.value.as_int32 = 321; | 
| +  Dart_PostCObject(reply_port_id, &response); | 
| } | 
|  | 
|  | 
|  |