Chromium Code Reviews| Index: chrome/renderer/resources/extensions/automation_custom_bindings.js |
| diff --git a/chrome/renderer/resources/extensions/automation_custom_bindings.js b/chrome/renderer/resources/extensions/automation_custom_bindings.js |
| index 82a1e6c8bf5fe0bde75916f1414605dc178eed49..b995991189b8fe2f98dc9ed9ce01c173d8a0f93d 100644 |
| --- a/chrome/renderer/resources/extensions/automation_custom_bindings.js |
| +++ b/chrome/renderer/resources/extensions/automation_custom_bindings.js |
| @@ -211,7 +211,7 @@ automationInternal.onChildTreeID.addListener(function(treeID, |
| if (!subroot) { |
| automationUtil.storeTreeCallback(childTreeID, function(root) { |
| privates(root).impl.setHostNode(node); |
| - |
| + privates(node).impl.ChildTree = root; |
|
dmazzoni
2016/02/19 21:22:59
Should this be childTree instead of ChildTree?
|
| if (root.docLoaded) |
| privates(root).impl.dispatchEvent(schema.EventType.loadComplete); |
| @@ -221,6 +221,7 @@ automationInternal.onChildTreeID.addListener(function(treeID, |
| automationInternal.enableFrame(childTreeID); |
| } else { |
| privates(subroot).impl.setHostNode(node); |
| + privates(node).impl.ChildTree = subroot; |
| } |
| }); |