Chromium Code Reviews| Index: runtime/vm/dart_api_impl.cc |
| =================================================================== |
| --- runtime/vm/dart_api_impl.cc (revision 30381) |
| +++ runtime/vm/dart_api_impl.cc (working copy) |
| @@ -2874,7 +2874,7 @@ |
| constructor = constructor.RedirectionTarget(); |
| if (constructor.IsNull()) { |
| ASSERT(redirect_type.IsMalformed()); |
| - return Api::NewHandle(isolate, redirect_type.malformed_error()); |
| + return Api::NewHandle(isolate, redirect_type.error()); |
| } |
| if (!redirect_type.IsInstantiated()) { |