Index: runtime/vm/snapshot_test.cc |
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc |
index 3933f3dc526c486ee24e71d9f97b597e0c6c30cd..b314513a54a10491ef9457589e9a61827a29161e 100644 |
--- a/runtime/vm/snapshot_test.cc |
+++ b/runtime/vm/snapshot_test.cc |
@@ -61,7 +61,7 @@ static uint8_t* malloc_allocator( |
static uint8_t* zone_allocator( |
uint8_t* ptr, intptr_t old_size, intptr_t new_size) { |
- Zone* zone = Isolate::Current()->current_zone(); |
+ Zone* zone = Thread::Current()->zone(); |
return zone->Realloc<uint8_t>(ptr, old_size, new_size); |
} |