| Index: mojo/shell/public/cpp/lib/shell_connection.cc
|
| diff --git a/mojo/shell/public/cpp/lib/shell_connection.cc b/mojo/shell/public/cpp/lib/shell_connection.cc
|
| index 62ae598222c360c3c9e78c70d816007505326dc8..d1cba7ea31e040427ad194fdf369945085bf2962 100644
|
| --- a/mojo/shell/public/cpp/lib/shell_connection.cc
|
| +++ b/mojo/shell/public/cpp/lib/shell_connection.cc
|
| @@ -86,8 +86,7 @@
|
| // Note that the ShellClient doesn't technically have to quit now, it may live
|
| // on to service existing connections. All existing Connectors however are
|
| // invalid.
|
| - if (client_->ShellConnectionLost() && !connection_lost_closure_.is_null())
|
| - connection_lost_closure_.Run();
|
| + client_->ShellConnectionLost();
|
| // We don't reset the connector as clients may have taken a raw pointer to it.
|
| // Connect() will return nullptr if they try to connect to anything.
|
| }
|
|
|