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 206bbdc75ac74c53ce0903cd9d79419b8d5ffe31..008dd3e76a2178d01b2c777f4c412a7adfa10aa3 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp |
@@ -318,7 +318,7 @@ bool InspectorDebuggerAgent::isPaused() |
void InspectorDebuggerAgent::scriptExecutionBlockedByCSP(const String& directiveText) |
{ |
- RefPtr<JSONObject> directive = JSONObject::create(); |
+ RefPtr<protocol::DictionaryValue> directive = protocol::DictionaryValue::create(); |
directive->setString("directiveText", directiveText); |
m_v8DebuggerAgent->breakProgramOnException(protocol::Debugger::Paused::ReasonEnum::CSPViolation, directive.release()); |
} |
@@ -334,7 +334,7 @@ void InspectorDebuggerAgent::didExecuteScript() |
} |
// InspectorBaseAgent overrides. |
-void InspectorDebuggerAgent::setState(PassRefPtr<JSONObject> state) |
+void InspectorDebuggerAgent::setState(PassRefPtr<protocol::DictionaryValue> state) |
{ |
InspectorBaseAgent::setState(state); |
m_v8DebuggerAgent->setInspectorState(m_state); |