Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index 89064e08604eec57560bd5ae0dfd10b834a64d19..09c2a10f8813685bd545b3ad4cab990318e36c5c 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -5172,7 +5172,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, TokenPosition::kNoSource)); |
instantiated_type ^= ClassFinalizer::FinalizeType( |
cls, instantiated_type, ClassFinalizer::kCanonicalize); |
return Api::NewHandle(T, instantiated_type.raw()); |