Index: runtime/vm/ast_printer_test.cc |
diff --git a/runtime/vm/ast_printer_test.cc b/runtime/vm/ast_printer_test.cc |
index 588d7023f96619e1eb4548dcae28887680d08e68..5b774e8f5992e68f61e2807366fbd9f7d7728136 100644 |
--- a/runtime/vm/ast_printer_test.cc |
+++ b/runtime/vm/ast_printer_test.cc |
@@ -18,7 +18,7 @@ TEST_CASE(AstPrinter) { |
const TokenPosition kPos = TokenPosition::kNoSource; |
LocalVariable* v = |
new LocalVariable(kPos, |
- String::ZoneHandle(Symbols::New("wurscht")), |
+ String::ZoneHandle(Symbols::New(thread, "wurscht")), |
Type::ZoneHandle(Type::DynamicType())); |
v->set_index(5); |
LoadLocalNode* ll = new LoadLocalNode(kPos, v); |