Index: runtime/vm/service_isolate.cc |
diff --git a/runtime/vm/service_isolate.cc b/runtime/vm/service_isolate.cc |
index 27ff93249a19124eba90aa742d24543975526101..fa8cd950b2be88e70533a3f7b3af4ad9e7df0f6e 100644 |
--- a/runtime/vm/service_isolate.cc |
+++ b/runtime/vm/service_isolate.cc |
@@ -502,8 +502,9 @@ void ServiceIsolate::Shutdown() { |
void ServiceIsolate::BootVmServiceLibrary() { |
+ Thread* thread = Thread::Current(); |
const Library& vmservice_library = |
- Library::Handle(Library::LookupLibrary(Symbols::DartVMService())); |
+ Library::Handle(Library::LookupLibrary(thread, Symbols::DartVMService())); |
ASSERT(!vmservice_library.IsNull()); |
const String& boot_function_name = String::Handle(String::New("boot")); |
const Function& boot_function = |