Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(816)

Unified Diff: bin/test_extension.cc

Issue 11275008: - Represent strings internally in UTF-16 format, this makes it (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: bin/test_extension.cc
===================================================================
--- bin/test_extension.cc (revision 14046)
+++ bin/test_extension.cc (working copy)
@@ -26,11 +26,11 @@
}
Dart_NativeFunction ResolveName(Dart_Handle name, int argc) {
- assert(Dart_IsString8(name));
+ assert(Dart_IsString(name));
const char* cname;
Dart_Handle check_error;
- check_error = Dart_StringToCString(name, &cname);
+ check_error = Dart_StringAsCString(name, &cname);
if (Dart_IsError(check_error)) {
Dart_PropagateError(check_error);
}

Powered by Google App Engine
This is Rietveld 408576698