Index: services/ui/launcher/launcher_app.cc |
diff --git a/services/ui/launcher/launcher_app.cc b/services/ui/launcher/launcher_app.cc |
index 918681ef61b0c473011b8befbe034218443c19c4..d0f1377726920254925157be9206b091d5dd2b52 100644 |
--- a/services/ui/launcher/launcher_app.cc |
+++ b/services/ui/launcher/launcher_app.cc |
@@ -39,7 +39,9 @@ void LauncherApp::Initialize(mojo::ApplicationImpl* app_impl) { |
bool LauncherApp::ConfigureIncomingConnection( |
mojo::ApplicationConnection* connection) { |
// Only present the launcher interface to the shell. |
- if (connection->GetRemoteApplicationURL().empty()) { |
+ if (connection->GetServiceProviderImpl() |
+ .connection_context() |
+ .remote_url.empty()) { |
connection->AddService<Launcher>(this); |
} |
return true; |