| Index: third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| index 0087ef7095e68b008ab7dd2d9970d4fd4aac918b..3df7e846701aa5b06b89fce8de0ad15ecb98b429 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| @@ -60,14 +60,12 @@ DEFINE_TRACE(InspectorDebuggerAgent)
|
| void InspectorDebuggerAgent::enable(ErrorString* errorString)
|
| {
|
| m_v8DebuggerAgent->enable(errorString);
|
| - m_instrumentingAgents->setInspectorDebuggerAgent(this);
|
| m_state->setBoolean(DebuggerAgentState::debuggerEnabled, true);
|
| }
|
|
|
| void InspectorDebuggerAgent::disable(ErrorString* errorString)
|
| {
|
| m_state->setBoolean(DebuggerAgentState::debuggerEnabled, false);
|
| - m_instrumentingAgents->setInspectorDebuggerAgent(nullptr);
|
| m_v8DebuggerAgent->disable(errorString);
|
| }
|
|
|
| @@ -257,43 +255,6 @@ void InspectorDebuggerAgent::setBlackboxedRanges(
|
| m_v8DebuggerAgent->setBlackboxedRanges(errorString, inScriptId, std::move(inPositions));
|
| }
|
|
|
| -void InspectorDebuggerAgent::scriptExecutionBlockedByCSP(const String& directiveText)
|
| -{
|
| - OwnPtr<protocol::DictionaryValue> directive = protocol::DictionaryValue::create();
|
| - directive->setString("directiveText", directiveText);
|
| - m_v8DebuggerAgent->breakProgramOnException(protocol::Debugger::Paused::ReasonEnum::CSPViolation, directive.release());
|
| -}
|
| -
|
| -void InspectorDebuggerAgent::asyncTaskScheduled(const String& taskName, void* task)
|
| -{
|
| - m_v8DebuggerAgent->asyncTaskScheduled(taskName, task, false);
|
| -}
|
| -
|
| -void InspectorDebuggerAgent::asyncTaskScheduled(const String& operationName, void* task, bool recurring)
|
| -{
|
| - m_v8DebuggerAgent->asyncTaskScheduled(operationName, task, recurring);
|
| -}
|
| -
|
| -void InspectorDebuggerAgent::asyncTaskCanceled(void* task)
|
| -{
|
| - m_v8DebuggerAgent->asyncTaskCanceled(task);
|
| -}
|
| -
|
| -void InspectorDebuggerAgent::allAsyncTasksCanceled()
|
| -{
|
| - m_v8DebuggerAgent->allAsyncTasksCanceled();
|
| -}
|
| -
|
| -void InspectorDebuggerAgent::asyncTaskStarted(void* task)
|
| -{
|
| - m_v8DebuggerAgent->asyncTaskStarted(task);
|
| -}
|
| -
|
| -void InspectorDebuggerAgent::asyncTaskFinished(void* task)
|
| -{
|
| - m_v8DebuggerAgent->asyncTaskFinished(task);
|
| -}
|
| -
|
| // InspectorBaseAgent overrides.
|
| void InspectorDebuggerAgent::init(InstrumentingAgents* instrumentingAgents, protocol::Frontend* baseFrontend, protocol::Dispatcher* dispatcher, protocol::DictionaryValue* state)
|
| {
|
|
|