| Index: Source/core/inspector/InspectorDebuggerAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| index 039454cf29e1a1cefab61b66c075ca747cb71c76..4d87e80566a92c08f6c945c455f13303eec5a537 100644
|
| --- a/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| +++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| @@ -640,6 +640,16 @@ void InspectorDebuggerAgent::setVariableValue(ErrorString* errorString, int scop
|
| injectedScript.setVariableValue(errorString, m_currentCallStack, callFrameId, functionObjectId, scopeNumber, variableName, newValueString);
|
| }
|
|
|
| +void InspectorDebuggerAgent::updateCallFrameScopes(ErrorString* error, const WTF::String& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Scope> >& scopeChain)
|
| +{
|
| + InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(callFrameId);
|
| + if (injectedScript.hasNoValue()) {
|
| + *error = "Inspected frame has gone";
|
| + return;
|
| + }
|
| + injectedScript.getCallFrameScopes(error, m_currentCallStack, callFrameId, &scopeChain);
|
| +}
|
| +
|
| void InspectorDebuggerAgent::scriptExecutionBlockedByCSP(const String& directiveText)
|
| {
|
| if (scriptDebugServer().pauseOnExceptionsState() != ScriptDebugServer::DontPauseOnExceptions) {
|
|
|