| Index: extensions/browser/process_manager.cc
|
| diff --git a/extensions/browser/process_manager.cc b/extensions/browser/process_manager.cc
|
| index b110aa3b6cf67825049f7aad05795debafb3f6e4..9e5f0c6561cc25f7785649795275e4402d7f9707 100644
|
| --- a/extensions/browser/process_manager.cc
|
| +++ b/extensions/browser/process_manager.cc
|
| @@ -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
|
|
|