Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js |
index f507215a32069390c08477da02d88a4c7426974e..943e0cb64b165555ca265af4ddb13558604d5cb4 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js |
@@ -40,7 +40,7 @@ TabsAutomationHandler.prototype = { |
/** @override */ |
onLoadComplete: function(evt) { |
- global.backgroundObj.refreshMode(evt.target.docUrl); |
+ ChromeVoxState.instance.refreshMode(evt.target.docUrl); |
var focused = evt.target.find({state: {focused: true}}) || evt.target; |
this.onFocus({target: focused, type: EventType.focus}); |
} |