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