| Index: sdk/lib/_internal/compiler/implementation/compiler.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| index 996d52f5ed54622fc7bb0589e764cc020310dd87..e770cff2319056437c6eff12c693a9ed17a56240 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| @@ -493,11 +493,8 @@ abstract class Compiler implements DiagnosticListener {
|
| || libraryName == 'dart:math'
|
| || libraryName == 'dart:html'
|
| || libraryName == 'dart:svg') {
|
| - if (libraryName == 'dart:html' ||
|
| - libraryName == 'dart:svg' ||
|
| - libraryName == 'dart:mirrors') {
|
| - // dart:html and dart:svg need access to convertDartClosureToJS and
|
| - // annotation classes.
|
| + if (libraryName == 'dart:html' || libraryName == 'dart:mirrors') {
|
| + // dart:html needs access to convertDartClosureToJS.
|
| // dart:mirrors needs access to the Primitives class.
|
| importHelperLibrary(library);
|
| }
|
|
|