| Index: pkg/compiler/lib/src/source_file_provider.dart
|
| diff --git a/pkg/compiler/lib/src/source_file_provider.dart b/pkg/compiler/lib/src/source_file_provider.dart
|
| index eca1c62bf3b3b72cf0b89f262db10c57402dbf46..cf9a1a55f3e44d145ee657e4fef9504ce7b8e535 100644
|
| --- a/pkg/compiler/lib/src/source_file_provider.dart
|
| +++ b/pkg/compiler/lib/src/source_file_provider.dart
|
| @@ -5,7 +5,6 @@
|
| library source_file_provider;
|
|
|
| import 'dart:async';
|
| -import 'dart:convert';
|
| import 'dart:io';
|
| import 'dart:math' as math;
|
| import 'dart:typed_data';
|
| @@ -25,10 +24,6 @@ abstract class SourceFileProvider implements CompilerInput {
|
| Map<Uri, SourceFile> sourceFiles = <Uri, SourceFile>{};
|
| int dartCharactersRead = 0;
|
|
|
| - Future<String> readStringFromUri(Uri resourceUri) {
|
| - return readUtf8BytesFromUri(resourceUri).then(UTF8.decode);
|
| - }
|
| -
|
| Future<List<int>> readUtf8BytesFromUri(Uri resourceUri) {
|
| if (resourceUri.scheme == 'file') {
|
| return _readFromFile(resourceUri);
|
| @@ -416,7 +411,7 @@ class BazelInputProvider extends SourceFileProvider {
|
| }
|
| }
|
| }
|
| - var result = await readUtf8BytesFromUri(resolvedUri);
|
| + List<int> result = await readUtf8BytesFromUri(resolvedUri);
|
| sourceFiles[uri] = sourceFiles[resolvedUri];
|
| return result;
|
| }
|
|
|