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

Unified Diff: packages/stack_trace/lib/src/vm_trace.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 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
« no previous file with comments | « packages/stack_trace/lib/src/utils.dart ('k') | packages/stack_trace/lib/stack_trace.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/stack_trace/lib/src/vm_trace.dart
diff --git a/packages/stack_trace/lib/src/vm_trace.dart b/packages/stack_trace/lib/src/vm_trace.dart
index 79911602ac7b59abadfc31d8315a8a17eb93c186..7086df70022710ebe4b7cf76a8a1d8ce4be3aabc 100644
--- a/packages/stack_trace/lib/src/vm_trace.dart
+++ b/packages/stack_trace/lib/src/vm_trace.dart
@@ -2,10 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library vm_trace;
-
import 'frame.dart';
-import 'utils.dart';
/// An implementation of [StackTrace] that emulates the behavior of the VM's
/// implementation.
@@ -21,7 +18,7 @@ class VMTrace implements StackTrace {
String toString() {
var i = 1;
return frames.map((frame) {
- var number = padRight("#${i++}", 8);
+ var number = "#${i++}".padRight(8);
var member = frame.member
.replaceAllMapped(new RegExp(r"[^.]+\.<async>"),
(match) => "${match[1]}.<${match[1]}_async_body>")
« no previous file with comments | « packages/stack_trace/lib/src/utils.dart ('k') | packages/stack_trace/lib/stack_trace.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698