| Index: runtime/vm/coverage.cc
|
| diff --git a/runtime/vm/coverage.cc b/runtime/vm/coverage.cc
|
| index 82e7b547a3a753d50fdf69e648b350cf8fc1558f..65dc7e1d14dc1bca5e8ca8eeabb934db5b01c6a0 100644
|
| --- a/runtime/vm/coverage.cc
|
| +++ b/runtime/vm/coverage.cc
|
| @@ -142,8 +142,7 @@ void CodeCoverage::PrintClass(const Library& lib,
|
| CoverageFilter* filter,
|
| bool as_call_sites) {
|
| Thread* thread = Thread::Current();
|
| - Isolate* isolate = thread->isolate();
|
| - if (cls.EnsureIsFinalized(isolate) != Error::null()) {
|
| + if (cls.EnsureIsFinalized(thread) != Error::null()) {
|
| // Only classes that have been finalized do have a meaningful list of
|
| // functions.
|
| return;
|
|
|