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 5dee32f19bd90e2bb1a15f99012cee77838984c0..98c20d3ef8a8ecaf1f6dbd09c55a735d5167824c 100644 |
--- a/chrome/browser/extensions/api/automation_internal/automation_event_router.cc |
+++ b/chrome/browser/extensions/api/automation_internal/automation_event_router.cc |
@@ -62,7 +62,10 @@ void AutomationEventRouter::DispatchAccessibilityEvent( |
content::RenderProcessHost* rph = |
content::RenderProcessHost::FromID(listener.process_id); |
- rph->Send(new ExtensionMsg_AccessibilityEvent(listener.routing_id, params)); |
+ if (rph) { |
aboxhall
2015/06/11 20:32:42
Could you add a comment as to why rph may not exis
dmazzoni
2015/06/12 17:51:36
I was wrong. It should always exist because we exp
|
+ rph->Send(new ExtensionMsg_AccessibilityEvent(listener.routing_id, |
+ params)); |
+ } |
} |
} |