Index: runtime/vm/object_test.cc |
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc |
index aa75ee9feb125813453efabb7898a861229fccea..3c30c91d550033f7d00d655ade3b4f5ec8d37167 100644 |
--- a/runtime/vm/object_test.cc |
+++ b/runtime/vm/object_test.cc |
@@ -4011,7 +4011,7 @@ TEST_CASE(FunctionSourceFingerprint) { |
TestCase::LoadTestScript(kScriptChars, NULL); |
EXPECT(ClassFinalizer::ProcessPendingClasses()); |
const String& name = String::Handle(String::New(TestCase::url())); |
- const Library& lib = Library::Handle(Library::LookupLibrary(name)); |
+ const Library& lib = Library::Handle(Library::LookupLibrary(thread, name)); |
EXPECT(!lib.IsNull()); |
const Class& class_a = Class::Handle( |
@@ -4076,7 +4076,7 @@ TEST_CASE(FunctionWithBreakpointNotInlined) { |
// With no breakpoint, function A.b is inlineable. |
const String& name = String::Handle(String::New(TestCase::url())); |
- const Library& vmlib = Library::Handle(Library::LookupLibrary(name)); |
+ const Library& vmlib = Library::Handle(Library::LookupLibrary(thread, name)); |
EXPECT(!vmlib.IsNull()); |
const Class& class_a = Class::Handle( |
vmlib.LookupClass(String::Handle(Symbols::New(thread, "A")))); |