Index: runtime/vm/bitmap.h |
diff --git a/runtime/vm/bitmap.h b/runtime/vm/bitmap.h |
index 6d3376a367aae471a01a82c09a0f8f515e84b230..507167efa04454ad9f37bceea81ef4ac78791f58 100644 |
--- a/runtime/vm/bitmap.h |
+++ b/runtime/vm/bitmap.h |
@@ -24,7 +24,7 @@ class BitmapBuilder : public ZoneAllocated { |
BitmapBuilder() |
: length_(0), |
data_size_in_bytes_(kInitialSizeInBytes), |
- data_(Isolate::Current()->current_zone()->Alloc<uint8_t>( |
+ data_(Thread::Current()->zone()->Alloc<uint8_t>( |
kInitialSizeInBytes)) { |
memset(data_, 0, kInitialSizeInBytes); |
} |