Index: src/heap/incremental-marking.h |
diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h |
index 49778a1ebc23700ca926e4e3714a50270fe3284a..7cf14ad1feff5788fa4d0a3239ae66b293cbc87f 100644 |
--- a/src/heap/incremental-marking.h |
+++ b/src/heap/incremental-marking.h |
@@ -216,10 +216,11 @@ class IncrementalMarking { |
} |
private: |
- class Observer : public InlineAllocationObserver { |
+ class Observer : public AllocationObserver { |
public: |
- Observer(IncrementalMarking& incremental_marking, intptr_t step_size) |
- : InlineAllocationObserver(step_size), |
+ Observer(IncrementalMarking& incremental_marking, Heap* heap, |
+ intptr_t step_size) |
+ : AllocationObserver(heap, step_size), |
incremental_marking_(incremental_marking) {} |
void Step(int bytes_allocated, Address, size_t) override { |