Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: Source/core/inspector/InspectorConsoleAgent.cpp

Issue 967493002: DevTools: remove setLastEvaluationResult from the protocol. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698