Index: runtime/vm/service_test.cc |
diff --git a/runtime/vm/service_test.cc b/runtime/vm/service_test.cc |
index b211fb75d60d974b279b5dc8169b47a2213fe483..5071bce7869475e7f8b6570f2f10f5e0098e4d22 100644 |
--- a/runtime/vm/service_test.cc |
+++ b/runtime/vm/service_test.cc |
@@ -109,7 +109,7 @@ static RawFunction* GetFunction(const Class& cls, const char* name) { |
static 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::Current(), name)))); |
EXPECT(!cls.IsNull()); // No ambiguity error expected. |
return cls.raw(); |
} |