| Index: Source/core/inspector/InspectorDOMAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp
|
| index 1d1dbc220c76d866fbefc670c65d579d6437b5b8..4387481e00df9e75a3cba9d9ac5cde2129f8571e 100644
|
| --- a/Source/core/inspector/InspectorDOMAgent.cpp
|
| +++ b/Source/core/inspector/InspectorDOMAgent.cpp
|
| @@ -2258,6 +2258,14 @@ void InspectorDOMAgent::getRelayoutBoundary(ErrorString* errorString, int nodeId
|
| *relayoutBoundaryNodeId = pushNodePathToFrontend(resultNode);
|
| }
|
|
|
| +void InspectorDOMAgent::getHighlightObjectForTest(ErrorString* errorString, int nodeId, RefPtr<JSONObject>& result)
|
| +{
|
| + Node* node = assertNode(errorString, nodeId);
|
| + if (!node)
|
| + return;
|
| + result = m_overlay->highlightJSONForNode(node);
|
| +}
|
| +
|
| PassRefPtr<TypeBuilder::Runtime::RemoteObject> InspectorDOMAgent::resolveNode(Node* node, const String& objectGroup)
|
| {
|
| Document* document = node->isDocumentNode() ? &node->document() : node->ownerDocument();
|
|
|