Index: chromeos/login/auth/mock_url_fetchers.cc |
diff --git a/chromeos/login/auth/mock_url_fetchers.cc b/chromeos/login/auth/mock_url_fetchers.cc |
index 0b4879bc79fee96a402c73ac5c6fb927472fba85..48a5543fa413ea6ae50ba7f9c2a489b9fcea9c67 100644 |
--- a/chromeos/login/auth/mock_url_fetchers.cc |
+++ b/chromeos/login/auth/mock_url_fetchers.cc |
@@ -40,7 +40,9 @@ void ExpectCanceledFetcher::Start() { |
void ExpectCanceledFetcher::CompleteFetch() { |
ADD_FAILURE() << "Fetch completed in ExpectCanceledFetcher!"; |
- base::MessageLoop::current()->Quit(); // Allow exiting even if we mess up. |
+ |
+ // Allow exiting even if we mess up. |
+ base::MessageLoop::current()->QuitWhenIdle(); |
} |
GotCanceledFetcher::GotCanceledFetcher( |