Index: runtime/vm/heap.cc |
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc |
index a8f35f4af68dded87a522fc96185e233b28496a9..24433698b9922d48f252f6525d6321951e42add7 100644 |
--- a/runtime/vm/heap.cc |
+++ b/runtime/vm/heap.cc |
@@ -639,7 +639,7 @@ void Heap::RecordAfterGC() { |
stats_.after_.old_ = old_space_->GetCurrentUsage(); |
ASSERT(gc_in_progress_); |
gc_in_progress_ = false; |
- if (Service::NeedsGCEvents()) { |
+ if (Service::NeedsEvents()) { |
GCEvent event(stats_); |
Service::HandleGCEvent(&event); |
} |