Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js |
index 306ab27741849f4a5473165bc8c4553a3c343dd5..caa35597532dfe867b6159d7b61ab26971507c03 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js |
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js |
@@ -41,7 +41,7 @@ cvox.ConsoleTts.prototype.speak = function(textString, queueMode, properties) { |
logStr += ' category=' + properties.category; |
} |
logStr += ' "' + textString + '"'; |
- window['console']['log'](logStr); |
+ console.log(logStr); |
} |
return this; |
}; |
@@ -52,7 +52,7 @@ cvox.ConsoleTts.prototype.isSpeaking = function() { return false; }; |
/** @override */ |
cvox.ConsoleTts.prototype.stop = function() { |
if (this.enabled_) { |
- window['console']['log']('Stop'); |
+ console.log('Stop'); |
} |
}; |