| Index: Source/core/inspector/InspectorDOMAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp
|
| index 8e7de8bc9e5b4d93b1ae525904d3b8c63729b9db..e6664b2cc3d4538cfbfe73e5dfa23f13ee894b7c 100644
|
| --- a/Source/core/inspector/InspectorDOMAgent.cpp
|
| +++ b/Source/core/inspector/InspectorDOMAgent.cpp
|
| @@ -543,19 +543,6 @@ void InspectorDOMAgent::discardBackendBindings()
|
| m_nodeGroupToBackendIdMap.clear();
|
| }
|
|
|
| -int InspectorDOMAgent::pushNodeToFrontend(ErrorString* errorString, int documentNodeId, Node* nodeToPush)
|
| -{
|
| - Document* document = assertDocument(errorString, documentNodeId);
|
| - if (!document)
|
| - return 0;
|
| - if (nodeToPush->document() != document) {
|
| - *errorString = "Node is not part of the document with given id";
|
| - return 0;
|
| - }
|
| -
|
| - return pushNodePathToFrontend(nodeToPush);
|
| -}
|
| -
|
| Node* InspectorDOMAgent::nodeForId(int id)
|
| {
|
| if (!id)
|
|
|