Index: src/heap/memory-reducer.h |
diff --git a/src/heap/memory-reducer.h b/src/heap/memory-reducer.h |
index 9213613c0762d026a10d39ffe34221151bcafc3a..0fe53e5fea74c09571a753a578d8f476a399a9ac 100644 |
--- a/src/heap/memory-reducer.h |
+++ b/src/heap/memory-reducer.h |
@@ -96,7 +96,7 @@ class MemoryReducer { |
double last_gc_time_ms; |
}; |
- enum EventType { kTimer, kMarkCompact, kContextDisposed }; |
+ enum EventType { kTimer, kMarkCompact, kPossibleGarbage }; |
struct Event { |
EventType type; |
@@ -113,7 +113,7 @@ class MemoryReducer { |
js_calls_sample_time_ms_(0.0) {} |
// Callbacks. |
void NotifyMarkCompact(const Event& event); |
- void NotifyContextDisposed(const Event& event); |
+ void NotifyPossibleGarbage(const Event& event); |
void NotifyBackgroundIdleNotification(const Event& event); |
// The step function that computes the next state from the current state and |
// the incoming event. |