Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index d4ebd04898bea1c8e024c534115c3ab52faa6240..5e321653a2fc6db58d2f87dc0194b7a1e97fe75f 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -1585,7 +1585,7 @@ TEST(TestCodeFlushingIncrementalAbort) { |
Handle<Object> breakpoint_object(Smi::FromInt(0), isolate); |
EnableDebugger(CcTest::isolate()); |
isolate->debug()->SetBreakPoint(function, breakpoint_object, &position); |
- isolate->debug()->ClearAllBreakPoints(); |
+ isolate->debug()->ClearBreakPoint(breakpoint_object); |
DisableDebugger(CcTest::isolate()); |
// Force optimization now that code flushing is disabled. |