Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index 4cad96c0a9fc4ffc251234c1f5d9ddb2f3061776..78363deb6d8eeb9af1cd0c811663678161b8f56e 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -5532,8 +5532,7 @@ DART_EXPORT Dart_Handle Dart_GetType(Dart_Handle library, |
// Construct the type object, canonicalize it and return. |
Type& instantiated_type = |
Type::Handle(Type::New(cls, type_args_obj, TokenPosition::kNoSource)); |
- instantiated_type ^= ClassFinalizer::FinalizeType( |
- cls, instantiated_type, ClassFinalizer::kCanonicalize); |
+ instantiated_type ^= ClassFinalizer::FinalizeType(cls, instantiated_type); |
return Api::NewHandle(T, instantiated_type.raw()); |
} |