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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/console_tts.js

Issue 1319093003: Use new earcons in ChromeVox Next. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@automation_node_id_fix_2
Patch Set: Rebase Created 5 years, 2 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
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');
}
};

Powered by Google App Engine
This is Rietveld 408576698