Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 63d33eb5fb601f269b4f91c462adf510550d0b43..c820b97fadfa62acdbf2f274bee8b99158cf6675 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -3135,8 +3135,7 @@ void Debugger::NotifyMessageHandler(v8::DebugEvent event, |
v8::Local<v8::Function> fun = |
v8::Local<v8::Function>::Cast(api_exec_state->Get(fun_name)); |
- v8::Handle<v8::Boolean> running = |
- auto_continue ? v8::True() : v8::False(); |
+ v8::Handle<v8::Boolean> running = v8::Boolean::New(auto_continue); |
static const int kArgc = 1; |
v8::Handle<Value> argv[kArgc] = { running }; |
cmd_processor = v8::Local<v8::Object>::Cast( |