Index: runtime/vm/service_isolate.cc |
diff --git a/runtime/vm/service_isolate.cc b/runtime/vm/service_isolate.cc |
index cb145575f5375a72c0fa51d49ea81adadb52a399..9e6e395ab1ec728ba7f0b2babbf82230f27f7e44 100644 |
--- a/runtime/vm/service_isolate.cc |
+++ b/runtime/vm/service_isolate.cc |
@@ -501,8 +501,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 = |