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

Unified Diff: tools/dom/templates/html/impl/impl_Event.darttemplate

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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Event.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Event.darttemplate b/tools/dom/templates/html/impl/impl_Event.darttemplate
index ce130959ae445512cbb69ae6daaea256ee52a268..76c931f152c3779e79d7b246d2f07cb351614203 100644
--- a/tools/dom/templates/html/impl/impl_Event.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Event.darttemplate
@@ -26,10 +26,10 @@ $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
*
* 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;
}
$!MEMBERS
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698