| Index: services/service_manager/public/cpp/lib/interface_registry.cc
|
| diff --git a/services/service_manager/public/cpp/lib/interface_registry.cc b/services/service_manager/public/cpp/lib/interface_registry.cc
|
| index 0eff1e9545fba79dd65e2dfcae2dde2e7a2154a4..039b86679c66b6d5894f2a25aeb618cb33b9c051 100644
|
| --- a/services/service_manager/public/cpp/lib/interface_registry.cc
|
| +++ b/services/service_manager/public/cpp/lib/interface_registry.cc
|
| @@ -250,7 +250,8 @@ void InterfaceRegistry::RebuildExposedInterfaces() {
|
| }
|
|
|
| void InterfaceRegistry::OnConnectionError() {
|
| - for (const auto& closure : connection_lost_closures_)
|
| + std::list<base::Closure> closures = connection_lost_closures_;
|
| + for (const auto& closure : closures)
|
| closure.Run();
|
| }
|
|
|
|
|