Index: runtime/vm/dart_api_message.h |
diff --git a/runtime/vm/dart_api_message.h b/runtime/vm/dart_api_message.h |
index 76a97884f4abab28d1ba37f437b10805a5caecbb..b44444afbc6a6f15eceaf6aec268fa144a8ee901 100644 |
--- a/runtime/vm/dart_api_message.h |
+++ b/runtime/vm/dart_api_message.h |
@@ -52,7 +52,7 @@ class ApiMessageReader : public BaseReader { |
// Allocates a Dart_CObject object for string data. |
Dart_CObject* AllocateDartCObjectString(intptr_t length); |
// Allocates a C Dart_CObject object for byte data. |
- Dart_CObject* AllocateDartCObjectByteArray(intptr_t length); |
+ Dart_CObject* AllocateDartCObjectUint8Array(intptr_t length); |
// Allocates a C array of Dart_CObject objects. |
Dart_CObject* AllocateDartCObjectArray(intptr_t length); |