Chromium Code Reviews| Index: vm/dart_api_message.cc | 
| =================================================================== | 
| --- vm/dart_api_message.cc (revision 15591) | 
| +++ vm/dart_api_message.cc (working copy) | 
| @@ -804,7 +804,7 @@ | 
| } | 
| Utf8::Type type; | 
| - intptr_t len = Utf8::CodePointCount(utf8_str, utf8_len, &type); | 
| + intptr_t len = Utf8::CodeUnitCount(utf8_str, utf8_len, &type); | 
| // Write out the serialization header value for this object. | 
| WriteInlinedHeader(object); |