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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js

Issue 1786243002: [DevTools] Move restartFrame and setCallFrameVariableValue to V8DebuggerAgent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dgozman-patch
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
index 98b2d78418741c7e2a719acad3ae717150c86fd7..6250aa19ec06fc7cb765ac53db351c9dac6f174f 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
@@ -808,12 +808,11 @@ WebInspector.DebuggerModel.prototype = {
* @param {string} variableName
* @param {!RuntimeAgent.CallArgument} newValue
* @param {string} callFrameId
- * @param {string} functionObjectId
* @param {function(string=)=} callback
*/
- setVariableValue: function(scopeNumber, variableName, newValue, callFrameId, functionObjectId, callback)
+ setVariableValue: function(scopeNumber, variableName, newValue, callFrameId, callback)
{
- this._agent.setVariableValue(scopeNumber, variableName, newValue, callFrameId, functionObjectId, innerCallback);
+ this._agent.setVariableValue(scopeNumber, variableName, newValue, callFrameId, innerCallback);
/**
* @param {?Protocol.Error} error
@@ -1376,7 +1375,7 @@ WebInspector.DebuggerModel.Scope.prototype = {
var declarativeScope = this._type !== DebuggerAgent.ScopeType.With && this._type !== DebuggerAgent.ScopeType.Global;
if (declarativeScope)
- this._object = runtimeModel.createScopeRemoteObject(this._payload.object, new WebInspector.ScopeRef(this._ordinal, this._callFrame.id, undefined));
+ this._object = runtimeModel.createScopeRemoteObject(this._payload.object, new WebInspector.ScopeRef(this._ordinal, this._callFrame.id));
else
this._object = runtimeModel.createRemoteObject(this._payload.object);

Powered by Google App Engine
This is Rietveld 408576698