Index: runtime/lib/vmservice.cc |
diff --git a/runtime/lib/vmservice.cc b/runtime/lib/vmservice.cc |
index c18b8eca73d6831f2846e632971befba4f87b547..502f5107a919cb8be0fb51d2d0c3db2488fef489 100644 |
--- a/runtime/lib/vmservice.cc |
+++ b/runtime/lib/vmservice.cc |
@@ -37,7 +37,7 @@ class RegisterRunningIsolatesVisitor : public IsolateVisitor { |
const String& library_url = Symbols::DartVMService(); |
ASSERT(!library_url.IsNull()); |
const Library& library = |
- Library::Handle(Library::LookupLibrary(library_url)); |
+ Library::Handle(Library::LookupLibrary(thread, library_url)); |
ASSERT(!library.IsNull()); |
// Get function. |
const String& function_name = |