Index: runtime/vm/compiler_test.cc |
diff --git a/runtime/vm/compiler_test.cc b/runtime/vm/compiler_test.cc |
index 3eda03d1464c9c9eab16c9c5fdae574738683553..a26031c0ff0f790232451a78ccc301042757d0a2 100644 |
--- a/runtime/vm/compiler_test.cc |
+++ b/runtime/vm/compiler_test.cc |
@@ -47,7 +47,7 @@ VM_TEST_CASE(CompileFunction) { |
EXPECT(CompilerTest::TestCompileScript(lib, script)); |
EXPECT(ClassFinalizer::ProcessPendingClasses()); |
Class& cls = Class::Handle( |
- lib.LookupClass(String::Handle(Symbols::New("A")))); |
+ lib.LookupClass(String::Handle(Symbols::New(thread, "A")))); |
EXPECT(!cls.IsNull()); |
String& function_foo_name = String::Handle(String::New("foo")); |
Function& function_foo = |
@@ -87,7 +87,7 @@ VM_TEST_CASE(CompileFunctionOnHelperThread) { |
EXPECT(CompilerTest::TestCompileScript(lib, script)); |
EXPECT(ClassFinalizer::ProcessPendingClasses()); |
Class& cls = Class::Handle( |
- lib.LookupClass(String::Handle(Symbols::New("A")))); |
+ lib.LookupClass(String::Handle(Symbols::New(thread, "A")))); |
EXPECT(!cls.IsNull()); |
String& function_foo_name = String::Handle(String::New("foo")); |
Function& func = |
@@ -129,7 +129,7 @@ TEST_CASE(RegenerateAllocStubs) { |
RawLibrary* raw_library = Library::RawCast(Api::UnwrapHandle(lib)); |
Library& lib_handle = Library::ZoneHandle(raw_library); |
Class& cls = Class::Handle( |
- lib_handle.LookupClass(String::Handle(Symbols::New("A")))); |
+ lib_handle.LookupClass(String::Handle(Symbols::New(thread, "A")))); |
EXPECT(!cls.IsNull()); |
Zone* zone = thread->zone(); |