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