Index: Source/core/inspector/InspectorConsoleAgent.cpp |
diff --git a/Source/core/inspector/InspectorConsoleAgent.cpp b/Source/core/inspector/InspectorConsoleAgent.cpp |
index f7142e97e1606a9042f08343d4a48b60726122b6..bf98854d22ac42da4665aa5db4bc6cf3f7c7dac5 100644 |
--- a/Source/core/inspector/InspectorConsoleAgent.cpp |
+++ b/Source/core/inspector/InspectorConsoleAgent.cpp |
@@ -270,14 +270,4 @@ void InspectorConsoleAgent::addInspectedHeapObject(ErrorString*, int inspectedHe |
m_injectedScriptManager->injectedScriptHost()->addInspectedObject(adoptPtr(new InspectableHeapObject(inspectedHeapObjectId))); |
} |
-void InspectorConsoleAgent::setLastEvaluationResult(ErrorString* errorString, const String& objectId) |
-{ |
- InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId); |
- if (injectedScript.isEmpty()) { |
- *errorString = "Inspected frame has gone"; |
- return; |
- } |
- injectedScript.setLastEvaluationResult(objectId); |
-} |
- |
} // namespace blink |