summaryrefslogtreecommitdiffstats
path: root/mojo/shell/background/tests/test_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/shell/background/tests/test_service.cc')
-rw-r--r--mojo/shell/background/tests/test_service.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mojo/shell/background/tests/test_service.cc b/mojo/shell/background/tests/test_service.cc
index e69640d..d030a81 100644
--- a/mojo/shell/background/tests/test_service.cc
+++ b/mojo/shell/background/tests/test_service.cc
@@ -25,8 +25,8 @@ class TestClient : public ShellClient,
connection->AddInterface(this);
return true;
}
- bool ShellConnectionLost() override {
- return true;
+ void ShellConnectionLost() override {
+ base::MessageLoop::current()->QuitWhenIdle();
}
// InterfaceFactory<mojom::TestService>: