| Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp
|
| index 8091b3183bf440f8ecfb6e131059c8dd907e12a3..539b805460edb5778c5b3c96aab8200055e4ada3 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp
|
| @@ -314,7 +314,7 @@ void V8DebuggerImpl::breakProgram()
|
|
|
| v8::HandleScope scope(m_isolate);
|
| v8::Local<v8::Function> breakFunction;
|
| - if (!v8::Function::New(m_isolate->GetCurrentContext(), &V8DebuggerImpl::breakProgramCallback, v8::External::New(m_isolate, this)).ToLocal(&breakFunction))
|
| + if (!v8::Function::New(m_isolate->GetCurrentContext(), &V8DebuggerImpl::breakProgramCallback, v8::External::New(m_isolate, this), 0, v8::ConstructorBehavior::kThrow).ToLocal(&breakFunction))
|
| return;
|
| v8::Debug::Call(debuggerContext(), breakFunction).ToLocalChecked();
|
| }
|
|
|