Index: runtime/vm/class_finalizer_test.cc |
diff --git a/runtime/vm/class_finalizer_test.cc b/runtime/vm/class_finalizer_test.cc |
index 828ecacad04f1f6af859ec031b284eb6c8d3272f..2c87c9c0436bd5f9c3829f24db3041216a6f07ae 100644 |
--- a/runtime/vm/class_finalizer_test.cc |
+++ b/runtime/vm/class_finalizer_test.cc |
@@ -14,7 +14,7 @@ static RawClass* CreateTestClass(const char* name) { |
const String& class_name = String::Handle(Symbols::New(name)); |
const Script& script = Script::Handle(); |
const Class& cls = |
- Class::Handle(Class::New(class_name, script, Scanner::kNoSourcePos)); |
+ Class::Handle(Class::New(class_name, script, Token::kNoSourcePos)); |
cls.set_interfaces(Object::empty_array()); |
cls.SetFunctions(Object::empty_array()); |
cls.SetFields(Object::empty_array()); |
@@ -96,12 +96,12 @@ TEST_CASE(ClassFinalize_Resolve) { |
const UnresolvedClass& unresolved = UnresolvedClass::Handle( |
UnresolvedClass::New(LibraryPrefix::Handle(), |
superclass_name, |
- Scanner::kNoSourcePos)); |
+ Token::kNoSourcePos)); |
const TypeArguments& type_arguments = TypeArguments::Handle(); |
rhb.set_super_type(Type::Handle( |
Type::New(Object::Handle(unresolved.raw()), |
type_arguments, |
- Scanner::kNoSourcePos))); |
+ Token::kNoSourcePos))); |
EXPECT(ClassFinalizer::ProcessPendingClasses()); |
} |