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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js

Issue 1785533002: [DevTools] Removed unused hidden protocol method: getStepInPositions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/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 e5bf86a7ddf793ea81fb7d207efc6493f9606c1b..2713ce63b077c5fe97b529d1da3fb8862d35b1ed 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
@@ -906,22 +906,6 @@ InjectedScript.prototype = {
},
/**
- * @param {!JavaScriptCallFrame} topCallFrame
- * @param {string} callFrameId
- * @return {*} a stepIn position array ready for protocol JSON or a string error
- */
- getStepInPositions: function(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);
- if (typeof stepInPositionsUnpacked !== "object")
- return "Step in positions not available";
- return stepInPositionsUnpacked;
- },
-
- /**
* Either callFrameId or functionObjectId must be specified.
* @param {!JavaScriptCallFrame} topCallFrame
* @param {string|boolean} callFrameId or false

Powered by Google App Engine
This is Rietveld 408576698