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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 12047028: Fixing Dartium build issue with speechrecognition API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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:
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index e8ac977c07e70e71c69fc15c7a3a4d30091e0d0e..156573f76ef50732d662d7b6437c54503657b90b 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -10097,12 +10097,12 @@ class Event native "*Event" {
* This is analogous to document.createEvent.
* Normally events should be created via their constructors, if available.
*
- * var e = Event.type('MouseEvent', 'mousedown', true, true);
+ * var e = new Event.type('MouseEvent', 'mousedown', true, true);
*/
- factory Event.type(String eventType, String type, [bool canBubble = true,
+ factory Event.type(String eventType, String name, [bool canBubble = true,
bool cancelable = true]) {
final Event e = document.$dom_createEvent(eventType);
- e.$dom_initEvent(type, canBubble, cancelable);
+ e.$dom_initEvent(name, canBubble, cancelable);
return e;
}
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698