| Index: chrome/renderer/resources/extensions/automation/automation_tree.js
|
| diff --git a/chrome/renderer/resources/extensions/automation/automation_tree.js b/chrome/renderer/resources/extensions/automation/automation_tree.js
|
| index d644ae580f7d4e103451b6ecb1175cbd89a5742d..d5d991ed6e82c1ccca97741248ddfed60c8d036a 100644
|
| --- a/chrome/renderer/resources/extensions/automation/automation_tree.js
|
| +++ b/chrome/renderer/resources/extensions/automation/automation_tree.js
|
| @@ -37,10 +37,12 @@ var AutomationAttributeTypes = [
|
| * AutomationNode object.
|
| * Thus, tree traversals amount to a lookup in our hash.
|
| *
|
| + * The tree itself is identified by the process id and routing id of the
|
| + * renderer/renderer host pair.
|
| * @constructor
|
| */
|
| -var AutomationTree = function(routingId) {
|
| - privates(this).impl = new AutomationTreeImpl(routingId);
|
| +var AutomationTree = function(processId, routingId) {
|
| + privates(this).impl = new AutomationTreeImpl(processId, routingId);
|
|
|
| /**
|
| * Event fired when a tree update occurs.
|
| @@ -63,7 +65,8 @@ AutomationTree.prototype = {
|
| };
|
|
|
|
|
| -var AutomationTreeImpl = function(routingId) {
|
| +var AutomationTreeImpl = function(processId, routingId) {
|
| + this.processId = processId;
|
| this.routingId = routingId;
|
|
|
| /**
|
|
|