Index: chrome/browser/extensions/extension_event_router.cc |
diff --git a/chrome/browser/extensions/extension_event_router.cc b/chrome/browser/extensions/extension_event_router.cc |
index f5800b3b0c280524b2387c7e49bfb6af0a516462..07e0ee3560ad05a42c43a550b8fce88421aaf53f 100644 |
--- a/chrome/browser/extensions/extension_event_router.cc |
+++ b/chrome/browser/extensions/extension_event_router.cc |
@@ -430,11 +430,10 @@ void ExtensionEventRouter::OnEventAck( |
// The event ACK is routed to the background host, so this should never be |
// NULL. |
CHECK(host); |
- if (!host->extension()) |
- return; |
- |
- CHECK(host->extension()->has_lazy_background_page()); |
- pm->DecrementLazyKeepaliveCount(host->extension()); |
+ // TODO(mpcomplete): We should never get this message unless |
+ // has_lazy_background_page is true. Find out why we're getting it anyway. |
+ if (host->extension() && host->extension()->has_lazy_background_page()) |
+ pm->DecrementLazyKeepaliveCount(host->extension()); |
} |
void ExtensionEventRouter::DispatchPendingEvent( |