| Index: tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| diff --git a/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate b/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| index 599b50c579bcccbc8d05e0b53ad26eabe7578fb8..139f6c5bde6af34c6e477340e6c6ee52331a1477 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| +++ b/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| @@ -6,7 +6,7 @@ part of $LIBRARYNAME;
|
|
|
| $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| $!MEMBERS
|
| - static SpeechRecognition _create() {
|
| + factory SpeechRecognition() {
|
| return JS('SpeechRecognition',
|
| 'new (window.SpeechRecognition || window.webkitSpeechRecognition)()');
|
| }
|
|
|