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

Unified Diff: pkg/stack_trace/lib/src/trace.dart

Issue 14009004: Remove methods on StackTrace class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « no previous file | runtime/lib/stacktrace_patch.dart » ('j') | sdk/lib/core/stacktrace.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/stack_trace/lib/src/trace.dart
diff --git a/pkg/stack_trace/lib/src/trace.dart b/pkg/stack_trace/lib/src/trace.dart
index bed1d5d89c799419d156dabe75835ffc34572a9a..b8a269f6358b5578acca4f46bdc78987cf2bcab7 100644
--- a/pkg/stack_trace/lib/src/trace.dart
+++ b/pkg/stack_trace/lib/src/trace.dart
@@ -52,7 +52,7 @@ class Trace implements StackTrace {
/// a [Trace], it will be returned as-is.
factory Trace.from(StackTrace trace) {
if (trace is Trace) return trace;
- return new Trace.parse(trace.fullStackTrace);
+ return new Trace.parse(trace.toString());
}
/// Parses a string representation of a stack trace.
« no previous file with comments | « no previous file | runtime/lib/stacktrace_patch.dart » ('j') | sdk/lib/core/stacktrace.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698