Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 054aaeb03c76871507608b91ce035c07ce09b443..908b59bc20f1af4af3bbcbea68f6a5f175663f3d 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -6620,7 +6620,7 @@ TEST(DebugCoverage) { |
"f();\n" |
"f();"); |
CompileRun(source); |
- v8::debug::Coverage coverage = v8::debug::Coverage::Collect(isolate, false); |
+ v8::debug::Coverage coverage = v8::debug::Coverage::CollectPrecise(isolate); |
CHECK_EQ(1u, coverage.ScriptCount()); |
v8::debug::Coverage::ScriptData script_data = coverage.GetScriptData(0); |
v8::Local<v8::debug::Script> script = script_data.GetScript(); |