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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

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 | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/html.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 4e499760c2b4b220499b3485c689a398319b596c..16de5f2d6c21ea1924936a8cb1830a6f1b419e88 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -10710,12 +10710,12 @@ class Event extends NativeFieldWrapperClass1 {
* 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;
}
Event.internal();
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698