Index: runtime/vm/flow_graph_builder_test.cc |
diff --git a/runtime/vm/flow_graph_builder_test.cc b/runtime/vm/flow_graph_builder_test.cc |
index 36eebc1176d6e98d36c2c4264c75cb3cf76b65bf..10f93cbcfb1688cfd6e2ba699eed9907365bc0e3 100644 |
--- a/runtime/vm/flow_graph_builder_test.cc |
+++ b/runtime/vm/flow_graph_builder_test.cc |
@@ -284,7 +284,7 @@ class SourcePositionTest : public ValueObject { |
RawClass* GetClass(const Library& lib, const char* name) { |
const Class& cls = Class::Handle( |
- lib.LookupClass(String::Handle(Symbols::New(name)))); |
+ lib.LookupClass(String::Handle(Symbols::New(thread_, name)))); |
EXPECT(!cls.IsNull()); // No ambiguity error expected. |
return cls.raw(); |
} |