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

Unified Diff: lib/src/analyzer.dart

Issue 27547002: Fix in webui needed from API change in dart:html (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 2 months 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 | « no previous file | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/analyzer.dart
diff --git a/lib/src/analyzer.dart b/lib/src/analyzer.dart
index 6b9bd1bb1814caa4062f2a81abe9e8351c42b7bf..f6673b91ed5a0ec5b7b1c92a40aa477e1952e2d4 100644
--- a/lib/src/analyzer.dart
+++ b/lib/src/analyzer.dart
@@ -495,7 +495,7 @@ class _Analyzer extends TreeVisitor {
if (name == 'on-key-down' || name == 'on-key-up' ||
name == 'on-key-press') {
- value = '\$event = new autogenerated.KeyEvent(\$event); $value';
+ value = '\$event = new autogenerated.KeyEvent.wrap(\$event); $value';
}
_addEvent(info, toCamelCase(name), (elem) => value);
« no previous file with comments | « no previous file | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698