Index: chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
index 7d89c81790a0cfd5ab699d6bfae70972ae5c7b07..05c8c9e8959ed06a490bfcb4225e9cb8007b2c75 100644 |
--- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
@@ -206,7 +206,7 @@ class FakeClientObserver |
delegate_->FakeRegisterWithOS(worker_->protocol()); |
} |
if (state != ShellIntegration::STATE_PROCESSING) { |
- base::MessageLoop::current()->Quit(); |
+ base::MessageLoop::current()->QuitWhenIdle(); |
} |
} |