| Index: chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js b/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js
|
| index 7ac49299d29d7f0064070492a89577ed25706a3b..a1536ecbb18dd3b64214fa00576f6f3a1f4c13fd 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/braille_background.js
|
| @@ -8,12 +8,12 @@
|
|
|
| goog.provide('cvox.BrailleBackground');
|
|
|
| -goog.require('ChromeVoxState');
|
| goog.require('cvox.BrailleDisplayManager');
|
| goog.require('cvox.BrailleInputHandler');
|
| goog.require('cvox.BrailleInterface');
|
| goog.require('cvox.BrailleKeyEvent');
|
| goog.require('cvox.BrailleTranslatorManager');
|
| +goog.require('global');
|
|
|
|
|
| /**
|
| @@ -118,8 +118,8 @@
|
| if (this.inputHandler_.onBrailleKeyEvent(brailleEvt)) {
|
| return;
|
| }
|
| - if (ChromeVoxState.instance &&
|
| - ChromeVoxState.instance.onBrailleKeyEvent(brailleEvt, content)) {
|
| + if (global.backgroundObj &&
|
| + global.backgroundObj.onBrailleKeyEvent(brailleEvt, content)) {
|
| return;
|
| }
|
| this.sendCommand_(brailleEvt, content);
|
|
|