Index: Source/core/inspector/InspectorConsoleAgent.cpp |
diff --git a/Source/core/inspector/InspectorConsoleAgent.cpp b/Source/core/inspector/InspectorConsoleAgent.cpp |
index 961bc3ee19b96f16f9cace338bac11d66b636747..a75cb6a3d02a4ee776ab698ae16136a045c56237 100644 |
--- a/Source/core/inspector/InspectorConsoleAgent.cpp |
+++ b/Source/core/inspector/InspectorConsoleAgent.cpp |
@@ -238,14 +238,4 @@ void InspectorConsoleAgent::sendConsoleMessageToFrontend(ConsoleMessage* console |
m_frontend->flush(); |
} |
-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 |