Index: sdk/lib/html/scripts/generator.py |
diff --git a/sdk/lib/html/scripts/generator.py b/sdk/lib/html/scripts/generator.py |
index 2126d9ac706ad945213ed3a877a71d8141e2a88f..94e231986c27c632341644586fb6e002aec1abb5 100644 |
--- a/sdk/lib/html/scripts/generator.py |
+++ b/sdk/lib/html/scripts/generator.py |
@@ -477,13 +477,13 @@ dart2js_conversions = { |
# as well. Note, there are no functions that take a non-local Window |
# as a parameter / setter. |
'DOMWindow get': |
- Conversion('_convertNativeToDart_Window', 'Window', 'Window'), |
+ Conversion('_convertNativeToDart_Window', 'dynamic', 'Window'), |
'EventTarget get': |
- Conversion('_convertNativeToDart_EventTarget', 'EventTarget', |
+ Conversion('_convertNativeToDart_EventTarget', 'dynamic', |
'EventTarget'), |
'EventTarget set': |
Conversion('_convertDartToNative_EventTarget', 'EventTarget', |
- 'EventTarget'), |
+ 'dynamic'), |
'IDBKey get': |
Conversion('_convertNativeToDart_IDBKey', 'dynamic', 'dynamic'), |