Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(981)

Unified Diff: services/shell/service_manager.cc

Issue 2221153003: Establish MojoChildConnection from BrowserChildProcessHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@renderer-channel
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/catalog/reader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « services/catalog/reader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698