diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/heap/v8_wrapper/heap_allocator_impl.h')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/heap/v8_wrapper/heap_allocator_impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/platform/heap/v8_wrapper/heap_allocator_impl.h b/chromium/third_party/blink/renderer/platform/heap/v8_wrapper/heap_allocator_impl.h index b36b1d24e46..4179e550510 100644 --- a/chromium/third_party/blink/renderer/platform/heap/v8_wrapper/heap_allocator_impl.h +++ b/chromium/third_party/blink/renderer/platform/heap/v8_wrapper/heap_allocator_impl.h @@ -137,11 +137,11 @@ class PLATFORM_EXPORT HeapAllocator { } template <typename T> - static void TraceBackingStoreIfMarked(T** slot) { + static void TraceBackingStoreIfMarked(T* object) { HeapConsistency::WriteBarrierParams params; - if (HeapConsistency::GetWriteBarrierType(slot, *slot, params) == + if (HeapConsistency::GetWriteBarrierType(object, params) == HeapConsistency::WriteBarrierType::kMarking) { - HeapConsistency::SteeleWriteBarrier(params, *slot); + HeapConsistency::SteeleWriteBarrier(params, object); } } |