Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6479)

Unified Diff: chrome/renderer/resources/extensions/automation_custom_bindings.js

Issue 2770713008: Automation API: Get rid of host node and get parent from C++ bindings instead
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/resources/extensions/automation/automation_node.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1038fd35ca2a55904117aef659f9fa85221c291d..2dbb93017e8b00d2d7188e42b8bfab5a851c3d2d 100644
--- a/chrome/renderer/resources/extensions/automation_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/automation_custom_bindings.js
@@ -224,8 +224,6 @@ automationInternal.onChildTreeID.addListener(function(treeID,
if (root.parent)
return;
- privates(root).impl.setHostNode(node);
-
if (root.docLoaded) {
privates(root).impl.dispatchEvent('loadComplete', 'page');
}
@@ -234,8 +232,6 @@ automationInternal.onChildTreeID.addListener(function(treeID,
});
automationInternal.enableFrame(childTreeID);
- } else {
- privates(subroot).impl.setHostNode(node);
}
});
« no previous file with comments | « chrome/renderer/resources/extensions/automation/automation_node.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698