Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index fe5e2788ff3f96f51c8408e6237bdb394912ae1f..d9ecc41a7499e39094fc644f2c79799c7d474b3c 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -222,7 +222,7 @@ TEST(TickEvents) { |
processor.StopSynchronously(); |
processor.Join(); |
- CpuProfile* profile = profiles->StopProfiling("", 1); |
+ CpuProfile* profile = profiles->StopProfiling(""); |
CHECK_NE(NULL, profile); |
// Check call trees. |
@@ -286,7 +286,7 @@ TEST(Issue1398) { |
processor.StopSynchronously(); |
processor.Join(); |
- CpuProfile* profile = profiles->StopProfiling("", 1); |
+ CpuProfile* profile = profiles->StopProfiling(""); |
CHECK_NE(NULL, profile); |
int actual_depth = 0; |