Index: runtime/lib/mirrors.cc |
diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc |
index d68e758aa24f20963ac6c42fbdff122ce1938060..c1a869a0cd19f3be9bcdcb879d442bea7f7076b8 100644 |
--- a/runtime/lib/mirrors.cc |
+++ b/runtime/lib/mirrors.cc |
@@ -109,7 +109,7 @@ static void EnsureConstructorsAreCompiled(const Function& func) { |
static RawInstance* CreateParameterMirrorList(const Function& func, |
const Instance& owner_mirror) { |
- HANDLESCOPE(Isolate::Current()); |
+ HANDLESCOPE(Thread::Current()); |
const intptr_t implicit_param_count = func.NumImplicitParameters(); |
const intptr_t non_implicit_param_count = func.NumParameters() - |
implicit_param_count; |