Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index 7374a5455f476f9cbe84741de4607bf15722b757..fb0566d38ed3e42675352e21ee81ff07c361a819 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -51,7 +51,7 @@ using i::Vector; |
TEST(StartStop) { |
CpuProfilesCollection profiles; |
ProfileGenerator generator(&profiles); |
- ProfilerEventsProcessor processor(&generator, &profiles); |
+ ProfilerEventsProcessor processor(&generator); |
processor.Start(); |
processor.Stop(); |
processor.Join(); |
@@ -141,7 +141,7 @@ TEST(CodeEvents) { |
CpuProfilesCollection* profiles = new CpuProfilesCollection; |
profiles->StartProfiling("", 1, false); |
ProfileGenerator generator(profiles); |
- ProfilerEventsProcessor processor(&generator, profiles); |
+ ProfilerEventsProcessor processor(&generator); |
processor.Start(); |
CpuProfiler profiler(isolate, profiles, &generator, &processor); |
@@ -202,7 +202,7 @@ TEST(TickEvents) { |
CpuProfilesCollection* profiles = new CpuProfilesCollection; |
profiles->StartProfiling("", 1, false); |
ProfileGenerator generator(profiles); |
- ProfilerEventsProcessor processor(&generator, profiles); |
+ ProfilerEventsProcessor processor(&generator); |
processor.Start(); |
CpuProfiler profiler(isolate, profiles, &generator, &processor); |
@@ -272,7 +272,7 @@ TEST(Issue1398) { |
CpuProfilesCollection* profiles = new CpuProfilesCollection; |
profiles->StartProfiling("", 1, false); |
ProfileGenerator generator(profiles); |
- ProfilerEventsProcessor processor(&generator, profiles); |
+ ProfilerEventsProcessor processor(&generator); |
processor.Start(); |
CpuProfiler profiler(isolate, profiles, &generator, &processor); |