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

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: rebaselined 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
« no previous file with comments | « Source/core/inspector/InspectorConsoleAgent.h ('k') | Source/devtools/front_end/promises/PromisePane.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/inspector/InspectorConsoleAgent.h ('k') | Source/devtools/front_end/promises/PromisePane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698