| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 8964d19628a9c390ad93afbb5c5b8083c47e0eb4..3212a367e19783da7c17a1481162cb42f14a1aa4 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -1852,7 +1852,9 @@ class CompositionEvent extends UIEvent native "CompositionEvent" {
|
| @DomName('Console')
|
| class Console {
|
|
|
| - static Console _safeConsole = new Console();
|
| + Console._safe() {}
|
| +
|
| + static Console _safeConsole = new Console._safe();
|
|
|
| bool get _isConsoleDefined => JS('bool', 'typeof console != "undefined"');
|
|
|
|
|