| Index: pkg/analyzer/lib/src/string_source.dart
|
| diff --git a/pkg/analyzer/lib/src/string_source.dart b/pkg/analyzer/lib/src/string_source.dart
|
| index b67a13e3b680191623bffa247c5fbde502494d88..7123bb459026cfc0c7e20b6b4a43e4f06cb041b8 100644
|
| --- a/pkg/analyzer/lib/src/string_source.dart
|
| +++ b/pkg/analyzer/lib/src/string_source.dart
|
| @@ -4,7 +4,6 @@
|
|
|
| library analyzer.string_source;
|
|
|
| -import 'generated/java_core.dart';
|
| import 'generated/source.dart';
|
|
|
| /// An implementation of [Source] that's based on an in-memory Dart string.
|
| @@ -27,7 +26,7 @@ class StringSource implements Source {
|
| bool exists() => true;
|
|
|
| void getContents(Source_ContentReceiver receiver) =>
|
| - receiver.accept(CharSequence.wrap(_contents), modificationStamp);
|
| + receiver.accept(_contents, modificationStamp);
|
|
|
| String get encoding => throw new UnsupportedError("StringSource doesn't support "
|
| "encoding.");
|
|
|