Index: runtime/vm/code_descriptors_test.cc |
diff --git a/runtime/vm/code_descriptors_test.cc b/runtime/vm/code_descriptors_test.cc |
index 5f8bb1d0651a891dc2ed47c9e6c2bc8e3467bdf3..3cc1ef9ce43e92a7ba5ad8471993dd90d11f8592 100644 |
--- a/runtime/vm/code_descriptors_test.cc |
+++ b/runtime/vm/code_descriptors_test.cc |
@@ -221,7 +221,7 @@ TEST_CASE(StackmapGC) { |
const Library& lib = Library::Handle(Library::LookupLibrary(name)); |
EXPECT(!lib.IsNull()); |
Class& cls = Class::Handle( |
- lib.LookupClass(String::Handle(Symbols::New("A")))); |
+ lib.LookupClass(String::Handle(Symbols::New(thread, "A")))); |
EXPECT(!cls.IsNull()); |
// Now compile the two functions 'A.foo' and 'A.moo' |