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