Chromium Code Reviews| Index: runtime/vm/raw_object.cc |
| =================================================================== |
| --- runtime/vm/raw_object.cc (revision 8203) |
| +++ runtime/vm/raw_object.cc (working copy) |
| @@ -257,7 +257,7 @@ |
| intptr_t RawObject::VisitPointers(ObjectPointerVisitor* visitor) { |
| intptr_t size = 0; |
| - NoHandleScope no_handles(Isolate::Current()); |
| + NoHandleScope no_handles(visitor->isolate()); |
| // Only reasonable to be called on heap objects. |
| ASSERT(IsHeapObject()); |