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

Unified Diff: Source/bindings/v8/DebuggerScript.js

Issue 333153003: DevTools: Revert stepping over/out on a call frame backend code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « no previous file | Source/bindings/v8/ScriptDebugServer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/DebuggerScript.js
diff --git a/Source/bindings/v8/DebuggerScript.js b/Source/bindings/v8/DebuggerScript.js
index e54115435d4d4d4c6f03b53215342cc16edfd284..bec40048c1233c8111123c12be4f673896ac9761 100644
--- a/Source/bindings/v8/DebuggerScript.js
+++ b/Source/bindings/v8/DebuggerScript.js
@@ -233,14 +233,12 @@ DebuggerScript.stepIntoStatement = function(execState)
DebuggerScript.stepOverStatement = function(execState, callFrame)
{
- var frameMirror = callFrame ? callFrame.frameMirror : undefined;
- execState.prepareStep(Debug.StepAction.StepNext, 1, frameMirror);
+ execState.prepareStep(Debug.StepAction.StepNext, 1);
}
DebuggerScript.stepOutOfFunction = function(execState, callFrame)
{
- var frameMirror = callFrame ? callFrame.frameMirror : undefined;
- execState.prepareStep(Debug.StepAction.StepOut, 1, frameMirror);
+ execState.prepareStep(Debug.StepAction.StepOut, 1);
}
// Returns array in form:
@@ -466,8 +464,7 @@ DebuggerScript._frameMirrorToJSCallFrame = function(frameMirror, callerFrame, sc
"setVariableValue": setVariableValue,
"stepInPositions": stepInPositions,
"isAtReturn": isAtReturn,
- "returnValue": returnValue,
- "frameMirror": frameMirror
+ "returnValue": returnValue
};
}
« no previous file with comments | « no previous file | Source/bindings/v8/ScriptDebugServer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698