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

Unified Diff: src/debug/mirrors.js

Issue 1994973002: Revert of Refactor script position calculation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/bootstrapper.cc ('k') | src/heap-symbols.h » ('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..6a380002e859f04910246ace2a548c5ea5fd9354 100644
--- a/src/debug/mirrors.js
+++ b/src/debug/mirrors.js
@@ -1950,7 +1950,7 @@
FrameMirror.prototype.sourceLineText = function() {
var location = this.sourceLocation();
if (location) {
- return location.sourceText;
+ return location.sourceText();
}
};
« no previous file with comments | « src/bootstrapper.cc ('k') | src/heap-symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698