| Index: dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart b/dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart
|
| index ae56ccfb8f6a0ff23a338ee04ddad24a230a4fc9..1c278527f2131eb5ed86b64a11b2ce3034008bb6 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart
|
| @@ -29,7 +29,7 @@ class SourceFileProvider {
|
| bool isWindows = (Platform.operatingSystem == 'windows');
|
| Uri cwd = getCurrentDirectory();
|
| Map<String, SourceFile> sourceFiles = <String, SourceFile>{};
|
| - int dartBytesRead = 0;
|
| + int dartCharactersRead = 0;
|
|
|
| Future<String> readStringFromUri(Uri resourceUri) {
|
| if (resourceUri.scheme != 'file') {
|
| @@ -42,7 +42,7 @@ class SourceFileProvider {
|
| throw 'Error: Cannot read "${relativize(cwd, resourceUri, isWindows)}" '
|
| '(${ex.osError}).';
|
| }
|
| - dartBytesRead += source.length;
|
| + dartCharactersRead += source.length;
|
| sourceFiles[resourceUri.toString()] =
|
| new SourceFile(relativize(cwd, resourceUri, isWindows), source);
|
| return new Future.immediate(source);
|
|
|