Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index df317af00b41f8e8cb8bd73a00ee612eecc77803..cc7d473be8591eca559580289b6212099d855b62 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1500,10 +1500,10 @@ TEST(TestCodeFlushingIncrementalAbort) { |
// disabled. |
int position = 0; |
Handle<Object> breakpoint_object(Smi::FromInt(0), isolate); |
- EnableDebugger(); |
+ EnableDebugger(CcTest::isolate()); |
isolate->debug()->SetBreakPoint(function, breakpoint_object, &position); |
isolate->debug()->ClearAllBreakPoints(); |
- DisableDebugger(); |
+ DisableDebugger(CcTest::isolate()); |
// Force optimization now that code flushing is disabled. |
{ v8::HandleScope scope(CcTest::isolate()); |