Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index d316138f93480972c01f8e758d06017b63ab859e..af8a8d81f24deb40826b430affd57b40276686ea 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -5126,7 +5126,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, Token::kNoSourcePos)); |
+ Type::New(cls, type_args_obj, TokenDescriptor::kNoSource)); |
instantiated_type ^= ClassFinalizer::FinalizeType( |
cls, instantiated_type, ClassFinalizer::kCanonicalize); |
return Api::NewHandle(T, instantiated_type.raw()); |