| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js
|
| index b525f444a78109543e0277ba061cc590cd5c99c2..85c209bbfc43a582ed7fd3a448869381ef2fc47a 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js
|
| @@ -296,7 +296,8 @@ Panel.onOpenMenus = function(opt_event, opt_activateMenuTitle) {
|
| binding.keySeq,
|
| function() {
|
| var bkgnd =
|
| - chrome.extension.getBackgroundPage()['global']['backgroundObj'];
|
| + chrome.extension.
|
| + getBackgroundPage()['ChromeVoxState']['instance'];
|
| bkgnd['onGotCommand'](binding.command);
|
| });
|
| }
|
| @@ -544,7 +545,7 @@ Panel.onSearchInputBlur = function() {
|
| */
|
| Panel.onOptions = function() {
|
| var bkgnd =
|
| - chrome.extension.getBackgroundPage()['global']['backgroundObj'];
|
| + chrome.extension.getBackgroundPage()['ChromeVoxState']['instance'];
|
| bkgnd['showOptionsPage']();
|
| window.location = '#';
|
| };
|
| @@ -575,7 +576,7 @@ Panel.closeMenusAndRestoreFocus = function() {
|
| window.location = '#';
|
|
|
| var bkgnd =
|
| - chrome.extension.getBackgroundPage()['global']['backgroundObj'];
|
| + chrome.extension.getBackgroundPage()['ChromeVoxState']['instance'];
|
| bkgnd['endExcursion'](Panel.pendingCallback_);
|
| };
|
|
|
|
|