Index: chrome/browser/extensions/api/automation_internal/automation_internal_api.cc |
diff --git a/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc b/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc |
index dc10f2cc81904e680512d3781fd30cf64b565361..afd510a2e2bcd2f0ad2e5e17fcfde827028bc1b4 100644 |
--- a/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc |
+++ b/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc |
@@ -276,6 +276,7 @@ AutomationInternalEnableTabFunction::Run() { |
// This gets removed when the extension process dies. |
AutomationEventRouter::GetInstance()->RegisterListenerForOneTree( |
+ extension_id(), |
source_process_id(), |
params->args.routing_id, |
ax_tree_id); |
@@ -387,6 +388,7 @@ AutomationInternalEnableDesktopFunction::Run() { |
// This gets removed when the extension process dies. |
AutomationEventRouter::GetInstance()->RegisterListenerWithDesktopPermission( |
+ extension_id(), |
source_process_id(), |
params->routing_id); |