Index: runtime/bin/dartutils.cc |
diff --git a/runtime/bin/dartutils.cc b/runtime/bin/dartutils.cc |
index f520620b9c259b79dd7767d43db9b0bf8b2291e6..9dd082dc26110927ca41e0e06bf9a549c8a673dc 100644 |
--- a/runtime/bin/dartutils.cc |
+++ b/runtime/bin/dartutils.cc |
@@ -399,8 +399,8 @@ Dart_CObject* CObject::NewArray(int length) { |
} |
-Dart_CObject* CObject::NewByteArray(int length) { |
- Dart_CObject* cobject = New(Dart_CObject::kByteArray, length); |
+Dart_CObject* CObject::NewUint8Array(int length) { |
+ Dart_CObject* cobject = New(Dart_CObject::kUint8Array, length); |
cobject->value.as_byte_array.length = length; |
cobject->value.as_byte_array.values = reinterpret_cast<uint8_t*>(cobject + 1); |
return cobject; |