Index: third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp |
index ca825b2a4d750403bbe534736a38a797efc11ed3..437b7d831c336f6445c8d40206677beafe98abd1 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp |
@@ -607,7 +607,7 @@ void InspectorDOMDebuggerAgent::breakProgramOnDOMEvent(Node* target, |
ASSERT(breakpointOwnerNodeId); |
description->setInteger("nodeId", breakpointOwnerNodeId); |
description->setString("type", domTypeName(breakpointType)); |
- String json = description->toJSONString(); |
+ String json = description->serialize(); |
m_v8Session->breakProgram( |
toV8InspectorStringView( |
v8_inspector::protocol::Debugger::API::Paused::ReasonEnum::DOM), |
@@ -647,7 +647,7 @@ void InspectorDOMDebuggerAgent::pauseOnNativeEventIfNeeded( |
bool synchronous) { |
if (!eventData) |
return; |
- String json = eventData->toJSONString(); |
+ String json = eventData->serialize(); |
if (synchronous) |
m_v8Session->breakProgram( |
toV8InspectorStringView(v8_inspector::protocol::Debugger::API::Paused:: |
@@ -767,7 +767,7 @@ void InspectorDOMDebuggerAgent::willSendXMLHttpOrFetchNetworkRequest( |
protocol::DictionaryValue::create(); |
eventData->setString("breakpointURL", breakpointURL); |
eventData->setString("url", url); |
- String json = eventData->toJSONString(); |
+ String json = eventData->serialize(); |
m_v8Session->breakProgram( |
toV8InspectorStringView( |
v8_inspector::protocol::Debugger::API::Paused::ReasonEnum::XHR), |