Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index 40b5b79125a7f22fa0c2db853a2e9ec4b50820a6..f5f5d65d6049de738f057f545bb83c434299bdd0 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -48,7 +48,7 @@ using i::Vector; |
TEST(StartStop) { |
CpuProfilesCollection profiles; |
ProfileGenerator generator(&profiles); |
- ProfilerEventsProcessor processor(&generator); |
+ ProfilerEventsProcessor processor(&generator, &profiles); |
processor.Start(); |
processor.Stop(); |
processor.Join(); |
@@ -104,7 +104,7 @@ TEST(CodeEvents) { |
CpuProfilesCollection profiles; |
profiles.StartProfiling("", 1, false); |
ProfileGenerator generator(&profiles); |
- ProfilerEventsProcessor processor(&generator); |
+ ProfilerEventsProcessor processor(&generator, &profiles); |
processor.Start(); |
// Enqueue code creation events. |
@@ -165,7 +165,7 @@ TEST(TickEvents) { |
CpuProfilesCollection profiles; |
profiles.StartProfiling("", 1, false); |
ProfileGenerator generator(&profiles); |
- ProfilerEventsProcessor processor(&generator); |
+ ProfilerEventsProcessor processor(&generator, &profiles); |
processor.Start(); |
processor.CodeCreateEvent(i::Logger::BUILTIN_TAG, |
@@ -229,7 +229,7 @@ TEST(Issue1398) { |
CpuProfilesCollection profiles; |
profiles.StartProfiling("", 1, false); |
ProfileGenerator generator(&profiles); |
- ProfilerEventsProcessor processor(&generator); |
+ ProfilerEventsProcessor processor(&generator, &profiles); |
processor.Start(); |
processor.CodeCreateEvent(i::Logger::BUILTIN_TAG, |