| Index: tools/dom/src/dart2js_DOMImplementation.dart
|
| diff --git a/tools/dom/src/dart2js_DOMImplementation.dart b/tools/dom/src/dart2js_DOMImplementation.dart
|
| index 24e6a6cd569e3ca79411e4b7bbcb870be887e2c3..81e9d6d3a3f7a0d96c96ba8caa3b586138d3ca7f 100644
|
| --- a/tools/dom/src/dart2js_DOMImplementation.dart
|
| +++ b/tools/dom/src/dart2js_DOMImplementation.dart
|
| @@ -57,7 +57,7 @@ class _DOMWindowCrossFrame implements WindowBase {
|
| Events get on => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
| // TODO(efortuna): Remove this method. dartbug.com/16814
|
| - void _addEventListener([String type, EventListener listener, bool useCapture])
|
| + void _addEventListener(String type, EventListener listener, [bool useCapture])
|
| => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
| // TODO(efortuna): Remove this method. dartbug.com/16814
|
| @@ -68,8 +68,8 @@ class _DOMWindowCrossFrame implements WindowBase {
|
| bool dispatchEvent(Event event) => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
| // TODO(efortuna): Remove this method. dartbug.com/16814
|
| - void _removeEventListener([String type, EventListener listener,
|
| - bool useCapture]) => throw new UnsupportedError(
|
| + void _removeEventListener(String type, EventListener listener,
|
| + [bool useCapture]) => throw new UnsupportedError(
|
| 'You can only attach EventListeners to your own window.');
|
| // TODO(efortuna): Remove this method. dartbug.com/16814
|
| void removeEventListener(String type, EventListener listener,
|
|
|