Index: extensions/browser/process_manager.cc |
=================================================================== |
--- extensions/browser/process_manager.cc (revision 271835) |
+++ extensions/browser/process_manager.cc (working copy) |
@@ -436,10 +436,7 @@ |
void ProcessManager::DecrementLazyKeepaliveCount( |
const std::string& extension_id) { |
int& count = background_page_data_[extension_id].lazy_keepalive_count; |
- DCHECK(count > 0 || |
- !ExtensionRegistry::Get(GetBrowserContext()) |
- ->enabled_extensions() |
- .Contains(extension_id)); |
+ DCHECK_GT(count, 0); |
// If we reach a zero keepalive count when the lazy background page is about |
// to be closed, incrementing close_sequence_id will cancel the close |