| Index: runtime/bin/gen_snapshot.cc
|
| ===================================================================
|
| --- runtime/bin/gen_snapshot.cc (revision 5191)
|
| +++ runtime/bin/gen_snapshot.cc (working copy)
|
| @@ -127,7 +127,7 @@
|
| const char* url_string = NULL;
|
| Dart_Handle result = Dart_StringToCString(url, &url_string);
|
| if (Dart_IsError(result)) {
|
| - return Dart_Error("accessing url characters failed");
|
| + return result;
|
| }
|
|
|
| // If the URL starts with "dart:" then it is handled specially.
|
| @@ -175,7 +175,7 @@
|
| const char* url_string = NULL;
|
| Dart_Handle result = Dart_StringToCString(url, &url_string);
|
| if (Dart_IsError(result)) {
|
| - return Dart_Error("accessing url characters failed");
|
| + return result;
|
| }
|
| // We only support canonicalization of "dart:".
|
| if (DartUtils::IsDartSchemeURL(url_string)) {
|
|
|