Chromium Code Reviews| Index: pkg/source_maps/lib/parser.dart |
| diff --git a/pkg/source_maps/lib/parser.dart b/pkg/source_maps/lib/parser.dart |
| index f53f7edcc743b3fb5ded10d28607b58429c4c0ed..a4da56c6ae9af7e7c961690666192813e338f2f9 100644 |
| --- a/pkg/source_maps/lib/parser.dart |
| +++ b/pkg/source_maps/lib/parser.dart |
| @@ -136,9 +136,6 @@ class MultiSectionMapping extends Mapping { |
| /// A map containing direct source mappings. |
| class SingleMapping extends Mapping { |
| - /// Url of the target file. |
| - final String targetUrl; |
| - |
| /// Source urls used in the mapping, indexed by id. |
| final List<String> urls; |
| @@ -148,10 +145,13 @@ class SingleMapping extends Mapping { |
| /// Entries indicating the beginning of each span. |
| final List<TargetLineEntry> lines; |
| + /// Url of the target file. |
| + String targetUrl; |
| + |
| /// Source root appended to the start of all entries in [urls]. |
| String sourceRoot = null; |
|
Siggi Cherem (dart-lang)
2014/07/15 17:54:56
just realized this - since this is not final, the
tjblasi
2014/07/15 18:00:14
Done.
|
| - SingleMapping._internal(this.targetUrl, this.urls, this.names, this.lines); |
| + SingleMapping._(this.targetUrl, this.urls, this.names, this.lines); |
| factory SingleMapping.fromEntries( |
| Iterable<builder.Entry> entries, [String fileUrl]) { |
| @@ -191,7 +191,7 @@ class SingleMapping extends Mapping { |
| srcNameId)); |
| } |
| } |
| - return new SingleMapping._internal( |
| + return new SingleMapping._( |
| fileUrl, urls.keys.toList(), names.keys.toList(), lines); |
| } |