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 0e2365608fe4ed1dc545049ed154990879bf517c..5a8512ac4856b5cab81b2e9319d047c9352e72a3 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 |
@@ -29,8 +29,8 @@ TabsAutomationHandler = function(tabRoot) { |
// When the root is focused, simulate what happens on a load complete. |
if (tabRoot.state[StateType.FOCUSED]) { |
- var event = new CustomAutomationEvent( |
- EventType.LOAD_COMPLETE, tabRoot, 'page'); |
+ var event = |
+ new CustomAutomationEvent(EventType.LOAD_COMPLETE, tabRoot, 'page'); |
this.onLoadComplete(event); |
} |
}; |
@@ -46,8 +46,8 @@ TabsAutomationHandler.prototype = { |
/** @override */ |
onLoadComplete: function(evt) { |
var focused = evt.target.find({state: {focused: true}}) || evt.target; |
- var event = new CustomAutomationEvent( |
- EventType.FOCUS, focused, evt.eventFrom); |
+ var event = |
+ new CustomAutomationEvent(EventType.FOCUS, focused, evt.eventFrom); |
this.onFocus(event); |
} |
}; |