Index: src/heap/array-buffer-tracker.cc |
diff --git a/src/heap/array-buffer-tracker.cc b/src/heap/array-buffer-tracker.cc |
index d7bbb941e2ca726985863a284fbf4129d97bc1af..def84572b681efc0cc35f2d1f1f053ddd89aa3da 100644 |
--- a/src/heap/array-buffer-tracker.cc |
+++ b/src/heap/array-buffer-tracker.cc |
@@ -19,7 +19,8 @@ |
for (TrackingData::iterator it = array_buffers_.begin(); |
it != array_buffers_.end();) { |
JSArrayBuffer* buffer = reinterpret_cast<JSArrayBuffer*>(it->first); |
- if ((free_mode == kFreeAll) || ObjectMarking::IsWhite(buffer)) { |
+ if ((free_mode == kFreeAll) || |
+ Marking::IsWhite(ObjectMarking::MarkBitFrom(buffer))) { |
const size_t len = it->second; |
heap_->isolate()->array_buffer_allocator()->Free(buffer->backing_store(), |
len); |