Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index c05b567796ec8a28582dc7282193b01af81e6431..3e524debb9ab57e2bf47087274f66bef1512a6a5 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. |