Index: runtime/vm/dart_api_message.cc |
=================================================================== |
--- runtime/vm/dart_api_message.cc (revision 37443) |
+++ runtime/vm/dart_api_message.cc (working copy) |
@@ -372,7 +372,7 @@ |
intptr_t len = Smi::Value(str->ptr()->length_); |
object = AllocateDartCObjectString(len); |
char* p = object->value.as_string; |
- memmove(p, str->ptr()->data_, len); |
+ memmove(p, str->ptr()->data(), len); |
p[len] = '\0'; |
ASSERT(vm_symbol_references_[symbol_id] == NULL); |
vm_symbol_references_[symbol_id] = object; |