Index: runtime/vm/bitmap.cc |
diff --git a/runtime/vm/bitmap.cc b/runtime/vm/bitmap.cc |
index 8a2ebde5598e125c521e5f2d0923596148ce5368..ae091ae8cbdd8314d3d1c8cb6e81cb0d30190554 100644 |
--- a/runtime/vm/bitmap.cc |
+++ b/runtime/vm/bitmap.cc |
@@ -54,7 +54,7 @@ void BitmapBuilder::Set(intptr_t bit_offset, bool value) { |
data_size_in_bytes_ = |
Utils::RoundUp(byte_offset + 1, kIncrementSizeInBytes); |
ASSERT(data_size_in_bytes_ > 0); |
- data_ = Isolate::Current()->current_zone()->Alloc<uint8_t>( |
+ data_ = Thread::Current()->zone()->Alloc<uint8_t>( |
data_size_in_bytes_); |
ASSERT(data_ != NULL); |
memmove(data_, old_data, old_size); |