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 836c23c51f43ff1f7145c023806a45bca479501f..74e57930e4e0dfd658fe76672a2f74eeef4706f2 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 |
@@ -28,7 +28,7 @@ TabsAutomationHandler = function(tabRoot) { |
// When the root is focused, simulate what happens on a load complete. |
if (tabRoot.state.focused) { |
this.onLoadComplete( |
- new chrome.automation.AutomationEvent(EventType.loadComplete, tabRoot, |
+ new ChromeVoxAutomationEvent(EventType.loadComplete, tabRoot, |
'page')); |
} |
}; |
@@ -44,7 +44,7 @@ TabsAutomationHandler.prototype = { |
/** @override */ |
onLoadComplete: function(evt) { |
var focused = evt.target.find({state: {focused: true}}) || evt.target; |
- this.onFocus(new chrome.automation.AutomationEvent( |
+ this.onFocus(new ChromeVoxAutomationEvent( |
EventType.focus, focused, evt.eventFrom)); |
} |
}; |