Index: sky/engine/core/events/Event.idl |
diff --git a/sky/engine/core/events/Event.idl b/sky/engine/core/events/Event.idl |
index d6ab9e9186bd770eeab34f2f53f965c00b972250..9f9c3d100bfe184fc8dc94c985544a84f403bbf5 100644 |
--- a/sky/engine/core/events/Event.idl |
+++ b/sky/engine/core/events/Event.idl |
@@ -19,7 +19,9 @@ |
*/ |
[ |
- Constructor(DOMString type, [Named] optional boolean bubbles, [Named] optional boolean cancelable), |
+ // TODO(eseidel): Type is optional to appease dart analyzer: |
+ // The class 'Event' does not have a default constructor |
+ Constructor([Named] optional DOMString type, [Named] optional boolean bubbles, [Named] optional boolean cancelable), |
] interface Event { |
// DOM PhaseType |
const unsigned short NONE = 0; |