Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index a2744be0d8be1c285ff6401b034f05efde7b39b8..54340e8fb495a25d4b0e6ba897bb22fdb6ffec67 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -4189,7 +4189,7 @@ TEST(DisableBreak) { |
{ |
v8::Debug::DebugBreak(env->GetIsolate()); |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(env->GetIsolate()); |
- v8::internal::DisableBreak disable_break(isolate, true); |
+ v8::internal::DisableBreak disable_break(isolate->debug(), true); |
f->Call(env->Global(), 0, NULL); |
CHECK_EQ(1, break_point_hit_count); |
} |