Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: sdk/lib/html/scripts/generator.py

Issue 11332006: Type unconverted window and event targets correctly (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'),
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698