| Index: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
|
| index 2713ce63b077c5fe97b529d1da3fb8862d35b1ed..2e9fb7ed568deb6a8ad467539068ae7c1e6e23fa 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
|
| @@ -893,52 +893,6 @@ InjectedScript.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {!JavaScriptCallFrame} topCallFrame
|
| - * @param {string} callFrameId
|
| - * @return {*}
|
| - */
|
| - restartFrame: function(topCallFrame, callFrameId)
|
| - {
|
| - var callFrame = this._callFrameForId(topCallFrame, callFrameId);
|
| - if (!callFrame)
|
| - return "Could not find call frame with given id";
|
| - return callFrame.restart();
|
| - },
|
| -
|
| - /**
|
| - * Either callFrameId or functionObjectId must be specified.
|
| - * @param {!JavaScriptCallFrame} topCallFrame
|
| - * @param {string|boolean} callFrameId or false
|
| - * @param {string|boolean} functionObjectId or false
|
| - * @param {number} scopeNumber
|
| - * @param {string} variableName
|
| - * @param {string} newValueJsonString RuntimeAgent.CallArgument structure serialized as string
|
| - * @return {string|undefined} undefined if success or an error message
|
| - */
|
| - setVariableValue: function(topCallFrame, callFrameId, functionObjectId, scopeNumber, variableName, newValueJsonString)
|
| - {
|
| - try {
|
| - var newValueJson = /** @type {!RuntimeAgent.CallArgument} */ (InjectedScriptHost.eval("(" + newValueJsonString + ")"));
|
| - var resolvedValue = this._resolveCallArgument(newValueJson);
|
| - if (typeof callFrameId === "string") {
|
| - var callFrame = this._callFrameForId(topCallFrame, callFrameId);
|
| - if (!callFrame)
|
| - return "Could not find call frame with given id";
|
| - callFrame.setVariableValue(scopeNumber, variableName, resolvedValue)
|
| - } else {
|
| - var parsedFunctionId = this._parseObjectId(/** @type {string} */ (functionObjectId));
|
| - var func = this._objectForId(parsedFunctionId);
|
| - if (typeof func !== "function")
|
| - return "Could not resolve function by id";
|
| - InjectedScriptHost.setFunctionVariableValue(func, scopeNumber, variableName, resolvedValue);
|
| - }
|
| - } catch (e) {
|
| - return toString(e);
|
| - }
|
| - return undefined;
|
| - },
|
| -
|
| - /**
|
| * @return {!CommandLineAPI}
|
| */
|
| commandLineAPI: function()
|
|
|