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

Unified Diff: runtime/bin/dartutils.cc

Issue 9462001: Unify most of our utf8 implementations. This takes the implementation (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 10 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: runtime/bin/dartutils.cc
===================================================================
--- runtime/bin/dartutils.cc (revision 4630)
+++ runtime/bin/dartutils.cc (working copy)
@@ -17,7 +17,7 @@
const char* DartUtils::kIOLibURL = "dart:io";
const char* DartUtils::kJsonLibURL = "dart:json";
const char* DartUtils::kUriLibURL = "dart:uri";
-const char* DartUtils::kUtf8LibURL = "dart:utf8";
+const char* DartUtils::kUtfLibURL = "dart:utf";
const char* DartUtils::kIdFieldName = "_id";
@@ -129,8 +129,8 @@
}
-bool DartUtils::IsDartUtf8LibURL(const char* url_name) {
- return (strcmp(url_name, kUtf8LibURL) == 0);
+bool DartUtils::IsDartUtfLibURL(const char* url_name) {
+ return (strcmp(url_name, kUtfLibURL) == 0);
}
« lib/utf/utf_vm.dart ('K') | « runtime/bin/dartutils.h ('k') | runtime/bin/gen_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698