Chromium Code Reviews| 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 e770cff2319056437c6eff12c693a9ed17a56240..996d52f5ed54622fc7bb0589e764cc020310dd87 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/compiler.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/compiler.dart |
| @@ -493,8 +493,11 @@ abstract class Compiler implements DiagnosticListener { |
| || libraryName == 'dart:math' |
| || libraryName == 'dart:html' |
| || libraryName == 'dart:svg') { |
| - if (libraryName == 'dart:html' || libraryName == 'dart:mirrors') { |
| - // dart:html needs access to convertDartClosureToJS. |
| + if (libraryName == 'dart:html' || |
|
ngeoffray
2012/11/28 20:31:23
Please keep the style used lines 491-495. Otherwis
|
| + libraryName == 'dart:svg' || |
| + libraryName == 'dart:mirrors') { |
| + // dart:html and dart:svg need access to convertDartClosureToJS and |
| + // annotation classes. |
| // dart:mirrors needs access to the Primitives class. |
| importHelperLibrary(library); |
| } |