Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / inspector / InjectedScript.cpp
index acb68a8..5e764bd 100644 (file)
@@ -337,5 +337,14 @@ 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);
+}
+
 } // namespace blink