Index: chrome/renderer/resources/extensions/automation/automation_node.js |
diff --git a/chrome/renderer/resources/extensions/automation/automation_node.js b/chrome/renderer/resources/extensions/automation/automation_node.js |
index a8dcdf63fb28af724447a3be800e5136fb339b18..9bcc52d521473689bb6e783c6b5824cc644b2a57 100644 |
--- a/chrome/renderer/resources/extensions/automation/automation_node.js |
+++ b/chrome/renderer/resources/extensions/automation/automation_node.js |
@@ -245,8 +245,9 @@ AutomationNodeImpl.prototype = { |
setSelection: function(startIndex, endIndex) { |
this.performAction_('setSelection', |
- { startIndex: startIndex, |
- endIndex: endIndex }); |
+ { focusNodeID: this.id, |
+ anchorOffset: startIndex, |
+ focusOffset: endIndex }); |
}, |
showContextMenu: function() { |