Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js |
index de18ba92835a97a99119e1abe76ccbfe833f4c0f..f79cf30ec0d9eb518ba480858c7f63a3cd8f7ac1 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js |
@@ -20,17 +20,17 @@ goog.provide('AutomationObjectConstructorInstaller'); |
*/ |
AutomationObjectConstructorInstaller.init = function(node, callback) { |
chrome.automation.AutomationNode = |
- /** @type {function (new:chrome.automation.AutomationNode)} */( |
+ /** @type {function (new:chrome.automation.AutomationNode)} */ ( |
node.constructor); |
- node.addEventListener(chrome.automation.EventType.CHILDREN_CHANGED, |
+ node.addEventListener( |
+ chrome.automation.EventType.CHILDREN_CHANGED, |
function installAutomationEvent(e) { |
chrome.automation.AutomationEvent = |
- /** @type {function (new:chrome.automation.AutomationEvent)} */( |
+ /** @type {function (new:chrome.automation.AutomationEvent)} */ ( |
e.constructor); |
node.removeEventListener( |
chrome.automation.EventType.CHILDREN_CHANGED, |
- installAutomationEvent, |
- true); |
+ installAutomationEvent, true); |
callback(); |
}, |
true); |