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

Unified Diff: runtime/bin/builtin_nolib.cc

Issue 27694005: Fix issue 13942 - Dart_Error function invokes OS::VSNPrint with the "format" string containing data… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | runtime/bin/dartutils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/builtin_nolib.cc
===================================================================
--- runtime/bin/builtin_nolib.cc (revision 28804)
+++ runtime/bin/builtin_nolib.cc (working copy)
@@ -22,17 +22,19 @@
Dart_Handle Builtin::Source(BuiltinLibraryId id) {
- return Dart_NewApiError("Unreachable code in Builtin::Source (%d).", id);
+ return DartUtils::NewError("Unreachable code in Builtin::Source (%d).", id);
}
Dart_Handle Builtin::PartSource(BuiltinLibraryId id, const char* uri) {
- return Dart_NewApiError("Unreachable code in Builtin::PartSource (%d).", id);
+ return DartUtils::NewError(
+ "Unreachable code in Builtin::PartSource (%d).", id);
}
Dart_Handle Builtin::GetSource(const char** source_paths, const char* uri) {
- return Dart_NewApiError("Unreachable code in Builtin::GetSource (%s).", uri);
+ return DartUtils::NewError(
+ "Unreachable code in Builtin::GetSource (%s).", uri);
}
« no previous file with comments | « no previous file | runtime/bin/dartutils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698