Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index 97c3d10d3006807a9901499322a8a4481fd47b60..63e93c98c60090ef35361e566ec6aeaa0d1d7f0a 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -634,7 +634,7 @@ MessageHandler::MessageStatus IsolateMessageHandler::ProcessUnhandledException( |
// Invoke the isolate's unhandled exception callback if there is one. |
if (Isolate::UnhandledExceptionCallback() != NULL) { |
Dart_EnterScope(); |
- Dart_Handle error = Api::NewHandle(I, result.raw()); |
+ Dart_Handle error = Api::NewHandle(T, result.raw()); |
(Isolate::UnhandledExceptionCallback())(error); |
Dart_ExitScope(); |
} |