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

Unified Diff: runtime/bin/vmservice/client/lib/src/elements/script_ref.dart

Issue 378113002: Improve script display in the observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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: runtime/bin/vmservice/client/lib/src/elements/script_ref.dart
diff --git a/runtime/bin/vmservice/client/lib/src/elements/script_ref.dart b/runtime/bin/vmservice/client/lib/src/elements/script_ref.dart
index c88d43a7045e5ec6d48884bcc65d7ef15a815a99..601a24ad14bf5786ac8074c2f9697a4f49f97b24 100644
--- a/runtime/bin/vmservice/client/lib/src/elements/script_ref.dart
+++ b/runtime/bin/vmservice/client/lib/src/elements/script_ref.dart
@@ -54,7 +54,7 @@ class ScriptRefElement extends ServiceRefElement {
if (ref.loaded) {
// Script is loaded, get the line number.
Script script = ref;
- return '${super.url}#line=${script.tokenToLine(pos)}';
+ return '${super.url}#pos=${pos}';
} else {
ref.load().then(_updateProperties);
}

Powered by Google App Engine
This is Rietveld 408576698