| Index: runtime/vm/heap.cc
|
| diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
|
| index a5900b68681655bd28ac06223aecf9a760458e3a..f0c98a5172fd5cde97883e59c487abcd1b15c237 100644
|
| --- a/runtime/vm/heap.cc
|
| +++ b/runtime/vm/heap.cc
|
| @@ -224,7 +224,7 @@ void Heap::VisitObjects(ObjectVisitor* visitor) const {
|
|
|
|
|
| HeapIterationScope::HeapIterationScope()
|
| - : StackResource(Thread::Current()->isolate()),
|
| + : StackResource(Thread::Current()),
|
| old_space_(isolate()->heap()->old_space()) {
|
| // It's not yet safe to iterate over a paged space while it's concurrently
|
| // sweeping, so wait for any such task to complete first.
|
|
|