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

Unified Diff: Source/core/inspector/InjectedScript.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/InjectedScript.cpp
diff --git a/Source/core/inspector/InjectedScript.cpp b/Source/core/inspector/InjectedScript.cpp
index ecf68e65e2624d62f50293f681fd7f2766ae49da..c6665defb0321f34c0307b61d50999c4e5009d4a 100644
--- a/Source/core/inspector/InjectedScript.cpp
+++ b/Source/core/inspector/InjectedScript.cpp
@@ -362,15 +362,6 @@ ScriptValue InjectedScript::nodeAsScriptValue(Node* node)
return InjectedScriptHost::nodeAsScriptValue(scriptState(), node);
}
-void InjectedScript::setLastEvaluationResult(const String& objectId)
-{
- ASSERT(!isEmpty());
- ScriptFunctionCall setLastResultFunction(injectedScriptObject(), "setLastEvaluationResult");
- setLastResultFunction.appendArgument(objectId);
- RefPtr<JSONValue> result;
- makeCall(setLastResultFunction, &result);
-}
-
void InjectedScript::setCustomObjectFormatterEnabled(bool enabled)
{
ASSERT(!isEmpty());

Powered by Google App Engine
This is Rietveld 408576698