Index: test/cctest/test-profile-generator.cc |
diff --git a/test/cctest/test-profile-generator.cc b/test/cctest/test-profile-generator.cc |
index 71728924dbe8af5280ed2b170a099a8a6d6473f8..412d4687c71bdc7879637568a69593b38e9118fb 100644 |
--- a/test/cctest/test-profile-generator.cc |
+++ b/test/cctest/test-profile-generator.cc |
@@ -350,7 +350,7 @@ TEST(RecordTickSample) { |
CpuProfiler profiler(isolate); |
profiles.set_cpu_profiler(&profiler); |
profiles.StartProfiling("", false); |
- ProfileGenerator generator(isolate, &profiles); |
+ ProfileGenerator generator(&profiles); |
CodeEntry* entry1 = new CodeEntry(i::Logger::FUNCTION_TAG, "aaa"); |
CodeEntry* entry2 = new CodeEntry(i::Logger::FUNCTION_TAG, "bbb"); |
CodeEntry* entry3 = new CodeEntry(i::Logger::FUNCTION_TAG, "ccc"); |
@@ -423,7 +423,7 @@ TEST(SampleIds) { |
CpuProfiler profiler(isolate); |
profiles.set_cpu_profiler(&profiler); |
profiles.StartProfiling("", true); |
- ProfileGenerator generator(isolate, &profiles); |
+ ProfileGenerator generator(&profiles); |
CodeEntry* entry1 = new CodeEntry(i::Logger::FUNCTION_TAG, "aaa"); |
CodeEntry* entry2 = new CodeEntry(i::Logger::FUNCTION_TAG, "bbb"); |
CodeEntry* entry3 = new CodeEntry(i::Logger::FUNCTION_TAG, "ccc"); |
@@ -481,7 +481,7 @@ TEST(NoSamples) { |
CpuProfiler profiler(isolate); |
profiles.set_cpu_profiler(&profiler); |
profiles.StartProfiling("", false); |
- ProfileGenerator generator(isolate, &profiles); |
+ ProfileGenerator generator(&profiles); |
CodeEntry* entry1 = new CodeEntry(i::Logger::FUNCTION_TAG, "aaa"); |
generator.code_map()->AddCode(ToAddress(0x1500), entry1, 0x200); |