| Index: Source/bindings/core/v8/ScriptDebugServer.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptDebugServer.cpp b/Source/bindings/core/v8/ScriptDebugServer.cpp
|
| index f980d7e79b6195f05ea13b9fb964c041d78bf537..d13194f60d5fb16dfffb2b3dd38395614fdb0d82 100644
|
| --- a/Source/bindings/core/v8/ScriptDebugServer.cpp
|
| +++ b/Source/bindings/core/v8/ScriptDebugServer.cpp
|
| @@ -273,7 +273,7 @@ void ScriptDebugServer::breakProgram()
|
| void ScriptDebugServer::continueProgram()
|
| {
|
| if (isPaused())
|
| - quitMessageLoopOnPause();
|
| + m_client->quitMessageLoopOnPause();
|
| m_pausedScriptState.clear();
|
| m_executionState.Clear();
|
| }
|
| @@ -523,7 +523,7 @@ void ScriptDebugServer::handleProgramBreak(ScriptState* pausedScriptState, v8::L
|
| if (m_runningNestedMessageLoop)
|
| return;
|
|
|
| - ScriptDebugListener* listener = getDebugListenerForContext(pausedScriptState->context());
|
| + ScriptDebugListener* listener = m_client->getDebugListenerForContext(pausedScriptState->context());
|
| if (!listener)
|
| return;
|
|
|
| @@ -542,7 +542,7 @@ void ScriptDebugServer::handleProgramBreak(ScriptState* pausedScriptState, v8::L
|
| ScriptDebugListener::SkipPauseRequest result = listener->didPause(pausedScriptState, currentCallFrames(), ScriptValue(pausedScriptState, exception), breakpointIds, isPromiseRejection);
|
| if (result == ScriptDebugListener::NoSkip) {
|
| m_runningNestedMessageLoop = true;
|
| - runMessageLoopOnPause(pausedScriptState->context());
|
| + m_client->runMessageLoopOnPause(pausedScriptState->context());
|
| m_runningNestedMessageLoop = false;
|
| }
|
| m_pausedScriptState.clear();
|
| @@ -590,7 +590,7 @@ void ScriptDebugServer::handleV8DebugEvent(const v8::Debug::EventDetails& eventD
|
| v8::Local<v8::Context> eventContext = eventDetails.GetEventContext();
|
| ASSERT(!eventContext.IsEmpty());
|
|
|
| - ScriptDebugListener* listener = getDebugListenerForContext(eventContext);
|
| + ScriptDebugListener* listener = m_client->getDebugListenerForContext(eventContext);
|
| if (listener) {
|
| v8::HandleScope scope(m_isolate);
|
| if (event == v8::AfterCompile || event == v8::CompileError) {
|
|
|