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

Unified Diff: Source/core/inspector/InjectedScriptSource.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 | « Source/core/inspector/InjectedScript.cpp ('k') | Source/core/inspector/InspectorDebuggerAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InjectedScriptSource.js
diff --git a/Source/core/inspector/InjectedScriptSource.js b/Source/core/inspector/InjectedScriptSource.js
index edeb00c72cd8e394acda0c4fd84cf242b7e70921..3cabdc116cb13ebc3333229b66f9ec8ae4151367 100644
--- a/Source/core/inspector/InjectedScriptSource.js
+++ b/Source/core/inspector/InjectedScriptSource.js
@@ -788,7 +788,7 @@ InjectedScript.prototype = {
*/
restartFrame: function(topCallFrame, callFrameId)
{
- var callFrame = this.callFrameForId(topCallFrame, callFrameId);
+ var callFrame = this._callFrameForId(topCallFrame, callFrameId);
if (!callFrame)
return "Could not find call frame with given id";
var result = callFrame.restart();
@@ -804,7 +804,7 @@ InjectedScript.prototype = {
*/
getStepInPositions: function(topCallFrame, callFrameId)
{
- var callFrame = this.callFrameForId(topCallFrame, callFrameId);
+ var callFrame = this._callFrameForId(topCallFrame, callFrameId);
if (!callFrame)
return "Could not find call frame with given id";
var stepInPositionsUnpacked = JSON.parse(callFrame.stepInPositions);
@@ -827,7 +827,7 @@ InjectedScript.prototype = {
{
var setter;
if (typeof callFrameId === "string") {
- var callFrame = this.callFrameForId(topCallFrame, callFrameId);
+ var callFrame = this._callFrameForId(topCallFrame, callFrameId);
if (!callFrame)
return "Could not find call frame with given id";
setter = bind(callFrame.setVariableValue, callFrame);
@@ -863,7 +863,7 @@ InjectedScript.prototype = {
* @param {string} callFrameId
* @return {?Object}
*/
- callFrameForId: function(topCallFrame, callFrameId)
+ _callFrameForId: function(topCallFrame, callFrameId)
{
var parsedCallFrameId = nullifyObjectProto(InjectedScriptHost.evaluate("(" + callFrameId + ")"));
return this._callFrameForParsedId(topCallFrame, parsedCallFrameId, []);
« no previous file with comments | « Source/core/inspector/InjectedScript.cpp ('k') | Source/core/inspector/InspectorDebuggerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698