Index: runtime/vm/dart_api_impl_test.cc |
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc |
index 02c28dbad4e38d2afe8072547df75b24203d02d1..3b0f2385516666f96cd2bc23c51a3f51048df166 100644 |
--- a/runtime/vm/dart_api_impl_test.cc |
+++ b/runtime/vm/dart_api_impl_test.cc |
@@ -6799,7 +6799,7 @@ TEST_CASE(ParsePatchLibrary) { |
kPatchNoClassChars }; |
const String& lib_url = String::Handle(String::New("theLibrary")); |
- const Library& lib = Library::Handle(Library::LookupLibrary(lib_url)); |
+ const Library& lib = Library::Handle(Library::LookupLibrary(thread, lib_url)); |
for (int i = 0; i < 3; i++) { |
const String& patch_url = String::Handle(String::New(patchNames[i])); |