Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 3eeb199204f62b4cb765fc2b4bf8462cf64cab7d..116542086573a0a4c6c52c85290589678fbbbabe 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -1904,7 +1904,7 @@ RUNTIME_FUNCTION(Runtime_DebugCollectCoverage) { |
HandleScope scope(isolate); |
DCHECK_EQ(0, args.length()); |
// Collect coverage data. |
- std::unique_ptr<Coverage> coverage(Coverage::Collect(isolate, false)); |
+ std::unique_ptr<Coverage> coverage(Coverage::CollectBestEffort(isolate)); |
Factory* factory = isolate->factory(); |
// Turn the returned data structure into JavaScript. |
// Create an array of scripts. |