| Index: chrome/browser/resources/chromeos/chromevox/host/chrome/earcons_background.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/earcons_background.js b/chrome/browser/resources/chromeos/chromevox/host/chrome/earcons_background.js
|
| index 41bc4c8e8d814f2400039cb51901cb3b15866585..22285e6f9ebf6a74967545d89b96701615648a45 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/host/chrome/earcons_background.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/earcons_background.js
|
| @@ -59,8 +59,8 @@ cvox.EarconsBackground.prototype.playEarcon = function(earcon) {
|
|
|
| this.currentAudio = this.audioMap[earcon];
|
| if (!this.currentAudio) {
|
| - this.currentAudio = new Audio(this.getBaseUrl() +
|
| - this.getEarconFilename(earcon));
|
| + this.currentAudio = new Audio(chrome.extension.getURL(this.getBaseUrl() +
|
| + this.getEarconFilename(earcon)));
|
| this.audioMap[earcon] = this.currentAudio;
|
| }
|
| try {
|
| @@ -78,4 +78,4 @@ cvox.EarconsBackground.prototype.playEarcon = function(earcon) {
|
| * The base URL for loading eracons.
|
| * @type {string}
|
| */
|
| -cvox.EarconsBackground.BASE_URL = 'earcons/';
|
| +cvox.EarconsBackground.BASE_URL = 'chromevox/background/earcons/';
|
|
|