Index: runtime/vm/service.cc |
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc |
index 8991390491f3258fde761e22ea96b5170fe7b52e..7324522c3c5046073934b24cfdfb4ba034b257a3 100644 |
--- a/runtime/vm/service.cc |
+++ b/runtime/vm/service.cc |
@@ -2390,7 +2390,10 @@ static bool GetSourceReport(Thread* thread, JSONStream* js) { |
} |
} |
SourceReport report(report_set, compile_mode); |
- report.PrintJSON(js, script, start_pos, end_pos); |
+ report.PrintJSON(js, |
+ script, |
+ TokenDescriptor(start_pos), |
+ TokenDescriptor(end_pos)); |
return true; |
} |