| Index: third_party/WebCore/Modules/speech/SpeechRecognitionError.idl
|
| diff --git a/third_party/WebCore/Modules/speech/SpeechRecognitionError.idl b/third_party/WebCore/Modules/speech/SpeechRecognitionError.idl
|
| index 39ecb1d0a7aff14dde1c7726b783bed6e3d0fae6..f37cd13385c967a97bfa9670d4a86aad56d9baa8 100644
|
| --- a/third_party/WebCore/Modules/speech/SpeechRecognitionError.idl
|
| +++ b/third_party/WebCore/Modules/speech/SpeechRecognitionError.idl
|
| @@ -25,8 +25,9 @@
|
|
|
| module core {
|
| interface [
|
| - Conditional=SCRIPTED_SPEECH
|
| - ] SpeechRecognitionError {
|
| + Conditional=SCRIPTED_SPEECH,
|
| + ConstructorTemplate=Event
|
| + ] SpeechRecognitionError : Event {
|
| const unsigned short OTHER = 0;
|
| const unsigned short NO_SPEECH = 1;
|
| const unsigned short ABORTED = 2;
|
| @@ -37,7 +38,7 @@ module core {
|
| const unsigned short BAD_GRAMMAR = 7;
|
| const unsigned short LANGUAGE_NOT_SUPPORTED = 8;
|
|
|
| - readonly attribute unsigned short code;
|
| - readonly attribute DOMString message;
|
| + readonly attribute [InitializedByEventConstructor] unsigned short code;
|
| + readonly attribute [InitializedByEventConstructor] DOMString message;
|
| };
|
| }
|
|
|