Index: runtime/vm/find_code_object_test.cc |
diff --git a/runtime/vm/find_code_object_test.cc b/runtime/vm/find_code_object_test.cc |
index caece810fa76847639bf49b4a070987f4a3dfba3..bac5c1ee851f7df4e1b9c9fee4f4a9790af8a3c2 100644 |
--- a/runtime/vm/find_code_object_test.cc |
+++ b/runtime/vm/find_code_object_test.cc |
@@ -55,7 +55,7 @@ VM_TEST_CASE(FindCodeObject) { |
source = String::New(scriptChars); |
script = Script::New(url, source, RawScript::kScriptTag); |
EXPECT(CompilerTest::TestCompileScript(lib, script)); |
- clsA = lib.LookupClass(String::Handle(Symbols::New("A"))); |
+ clsA = lib.LookupClass(String::Handle(Symbols::New(thread, "A"))); |
EXPECT(!clsA.IsNull()); |
ClassFinalizer::ProcessPendingClasses(); |
for (int i = 0; i < kNumFunctions; i++) { |
@@ -105,7 +105,7 @@ VM_TEST_CASE(FindCodeObject) { |
source = String::New(scriptChars); |
script = Script::New(url, source, RawScript::kScriptTag); |
EXPECT(CompilerTest::TestCompileScript(lib, script)); |
- clsB = lib.LookupClass(String::Handle(Symbols::New("B"))); |
+ clsB = lib.LookupClass(String::Handle(Symbols::New(thread, "B"))); |
EXPECT(!clsB.IsNull()); |
ClassFinalizer::ProcessPendingClasses(); |
for (int i = 0; i < kNumFunctions; i++) { |