Index: chrome/browser/extensions/event_router.cc |
diff --git a/chrome/browser/extensions/event_router.cc b/chrome/browser/extensions/event_router.cc |
index 8be11a650290ffce2321c1ca1e03c98d52bab06b..4e65e6da7031dac708a51af37c0d77c044223fe6 100644 |
--- a/chrome/browser/extensions/event_router.cc |
+++ b/chrome/browser/extensions/event_router.cc |
@@ -523,9 +523,10 @@ void EventRouter::DispatchPendingEvent(const linked_ptr<Event>& event, |
return; |
if (listeners_.HasProcessListener(host->render_process_host(), |
- host->extension()->id())) |
+ host->extension()->id())) { |
DispatchEventToProcess(host->extension()->id(), |
host->render_process_host(), event); |
+ } |
} |
void EventRouter::Observe(int type, |