Index: src/heap-profiler.cc |
diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc |
index b7855a971526d0a5c0f9de83d5dea7df0ba271a7..6f993607cafaca4aa1f6f9df27f24cac84b143a5 100644 |
--- a/src/heap-profiler.cc |
+++ b/src/heap-profiler.cc |
@@ -141,8 +141,8 @@ void HeapProfiler::ObjectMoveEvent(Address from, Address to, int size) { |
} |
-void HeapProfiler::NewObjectEvent(Address addr, int size) { |
- snapshots_->NewObjectEvent(addr, size); |
+void HeapProfiler::AllocationEvent(Address addr, int size) { |
+ snapshots_->AllocationEvent(addr, size); |
} |