| Index: chrome/browser/extensions/api/automation_internal/automation_event_router.cc
|
| diff --git a/chrome/browser/extensions/api/automation_internal/automation_event_router.cc b/chrome/browser/extensions/api/automation_internal/automation_event_router.cc
|
| index d86ceaf30eef87e352d452fcd6e05997de880946..421b2eee3506f3d13f89462ae323049fd519344e 100644
|
| --- a/chrome/browser/extensions/api/automation_internal/automation_event_router.cc
|
| +++ b/chrome/browser/extensions/api/automation_internal/automation_event_router.cc
|
| @@ -109,6 +109,7 @@ void AutomationEventRouter::DispatchAccessibilityLocationChange(
|
| void AutomationEventRouter::DispatchTreeDestroyedEvent(
|
| int tree_id,
|
| content::BrowserContext* browser_context) {
|
| + browser_context = browser_context ? browser_context : active_profile_;
|
| std::unique_ptr<base::ListValue> args(
|
| api::automation_internal::OnAccessibilityTreeDestroyed::Create(tree_id));
|
| std::unique_ptr<Event> event(new Event(
|
|
|