Index: src/incremental-marking-inl.h |
diff --git a/src/incremental-marking-inl.h b/src/incremental-marking-inl.h |
index 7ae2c99a0da282aca016d29ae2b92c9f9d181176..3e3d6c43fda9c1c97c7a30238d0add88bd8c1224 100644 |
--- a/src/incremental-marking-inl.h |
+++ b/src/incremental-marking-inl.h |
@@ -95,7 +95,7 @@ void IncrementalMarking::BlackToGreyAndUnshift(HeapObject* obj, |
ASSERT(IsMarking()); |
Marking::BlackToGrey(mark_bit); |
int obj_size = obj->Size(); |
- MemoryChunk::IncrementLiveBytes(obj->address(), -obj_size); |
+ MemoryChunk::IncrementLiveBytesFromGC(obj->address(), -obj_size); |
bytes_scanned_ -= obj_size; |
int64_t old_bytes_rescanned = bytes_rescanned_; |
bytes_rescanned_ = old_bytes_rescanned + obj_size; |