Index: chrome/renderer/resources/extension_process_bindings.js |
=================================================================== |
--- chrome/renderer/resources/extension_process_bindings.js (revision 92678) |
+++ chrome/renderer/resources/extension_process_bindings.js (working copy) |
@@ -1010,10 +1010,10 @@ |
apiFunctions["experimental.tts.speak"].handleRequest = function() { |
var args = arguments; |
- if (args.length > 1 && args[1] && args[1].onevent) { |
+ if (args.length > 1 && args[1] && args[1].onEvent) { |
var id = GetNextTtsEventId(); |
args[1].srcId = id; |
- chromeHidden.tts.handlers[id] = args[1].onevent; |
+ chromeHidden.tts.handlers[id] = args[1].onEvent; |
} |
sendRequest(this.name, args, this.definition.parameters); |
return id; |