| Index: pkg/third_party/html5lib/lib/src/tokenizer.dart
|
| diff --git a/pkg/third_party/html5lib/lib/src/tokenizer.dart b/pkg/third_party/html5lib/lib/src/tokenizer.dart
|
| index b4863753f6b3c5f848df14621f12a4fb2bafdfed..1b6311497ac4a3b4c188032a6d852a276c13804c 100644
|
| --- a/pkg/third_party/html5lib/lib/src/tokenizer.dart
|
| +++ b/pkg/third_party/html5lib/lib/src/tokenizer.dart
|
| @@ -2,7 +2,6 @@ library tokenizer;
|
|
|
| import 'dart:collection';
|
| import 'package:html5lib/parser.dart' show HtmlParser;
|
| -import 'package:source_maps/span.dart' show Span, FileSpan;
|
| import 'constants.dart';
|
| import 'inputstream.dart';
|
| import 'token.dart';
|
| @@ -157,7 +156,7 @@ class HtmlTokenizer implements Iterator<Token> {
|
| void _addToken(Token token) {
|
| if (generateSpans && token.span == null) {
|
| int offset = stream.position;
|
| - token.span = new FileSpan(stream.fileInfo, _lastOffset, offset);
|
| + token.span = stream.fileInfo.span(_lastOffset, offset);
|
| if (token is! ParseErrorToken) {
|
| _lastOffset = offset;
|
| }
|
|
|