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

Unified Diff: src/debug/mirrors.js

Issue 2003303002: Remove inessential functions from the JS Script class (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments Created 4 years, 7 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 | « src/debug/debug.js ('k') | src/js/messages.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/mirrors.js
diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js
index 7014c97d1338c103844eec9688d5d98ac708ac78..1aaa22aa7ef73faba17ed5960fa915ec1cb2444f 100644
--- a/src/debug/mirrors.js
+++ b/src/debug/mirrors.js
@@ -2356,7 +2356,7 @@ ScriptMirror.prototype.compilationType = function() {
ScriptMirror.prototype.lineCount = function() {
- return this.script_.lineCount();
+ return %ScriptLineCount(this.script_);
};
@@ -2366,11 +2366,6 @@ ScriptMirror.prototype.locationFromPosition = function(
};
-ScriptMirror.prototype.sourceSlice = function (opt_from_line, opt_to_line) {
- return this.script_.sourceSlice(opt_from_line, opt_to_line);
-};
-
-
ScriptMirror.prototype.context = function() {
return this.context_;
};
« no previous file with comments | « src/debug/debug.js ('k') | src/js/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698