Index: services/shell/service_manager.cc |
diff --git a/services/shell/service_manager.cc b/services/shell/service_manager.cc |
index f0aa9d4f046d869d3e5d5afed5e0ad1fba257811..29492011d5f75ade089360989e847c4657330e95 100644 |
--- a/services/shell/service_manager.cc |
+++ b/services/shell/service_manager.cc |
@@ -579,8 +579,8 @@ mojom::Resolver* ServiceManager::GetResolver(const Identity& identity) { |
void ServiceManager::TerminateServiceManagerConnections() { |
Instance* instance = GetExistingInstance(CreateServiceManagerIdentity()); |
- DCHECK(instance); |
- OnInstanceError(instance); |
+ if (instance) |
+ OnInstanceError(instance); |
} |
void ServiceManager::OnInstanceError(Instance* instance) { |