| Index: pkg/stack_trace/lib/src/frame.dart
|
| diff --git a/pkg/stack_trace/lib/src/frame.dart b/pkg/stack_trace/lib/src/frame.dart
|
| index 8f1931bc216403a4a3e57f92bde71e6c20220aef..8d3f042a20533b9ba0dcc9d0b71c18164f761e84 100644
|
| --- a/pkg/stack_trace/lib/src/frame.dart
|
| +++ b/pkg/stack_trace/lib/src/frame.dart
|
| @@ -8,7 +8,6 @@ library frame;
|
| import 'package:pathos/path.dart' as path;
|
|
|
| import 'trace.dart';
|
| -import 'utils.dart';
|
|
|
| final _nativeFrameRegExp = new RegExp(
|
| r'^#\d+\s+([^\s].*) \((.+):(\d+):(\d+)\)$');
|
| @@ -46,9 +45,8 @@ class Frame {
|
| /// This will usually be the string form of [uri], but a relative path will be
|
| /// used if possible.
|
| String get library {
|
| - // TODO(nweiz): handle relative URIs here as well once pathos supports that.
|
| if (uri.scheme != 'file') return uri.toString();
|
| - return path.relative(fileUriToPath(uri));
|
| + return path.relative(path.fromUri(uri));
|
| }
|
|
|
| /// Returns the name of the package this stack frame comes from, or `null` if
|
|
|