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

Unified Diff: samples/sample_extension/sample_extension.cc

Issue 11318018: - Represent strings internally in UTF-16 format, this makes it (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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: samples/sample_extension/sample_extension.cc
===================================================================
--- samples/sample_extension/sample_extension.cc (revision 14314)
+++ samples/sample_extension/sample_extension.cc (working copy)
@@ -116,7 +116,7 @@
{NULL, NULL}};
Dart_NativeFunction ResolveName(Dart_Handle name, int argc) {
- if (!Dart_IsString8(name)) return NULL;
+ if (!Dart_IsString(name)) return NULL;
Dart_NativeFunction result = NULL;
Dart_EnterScope();
const char* cname;

Powered by Google App Engine
This is Rietveld 408576698