Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1472)

Unified Diff: runtime/vm/bitmap.cc

Issue 1220193009: Migrate most uses of Isolate::current_zone to Thread::zone. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/bitmap.h ('k') | runtime/vm/coverage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « runtime/vm/bitmap.h ('k') | runtime/vm/coverage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698