Index: chrome/browser/local_discovery/privet_http_unittest.cc |
diff --git a/chrome/browser/local_discovery/privet_http_unittest.cc b/chrome/browser/local_discovery/privet_http_unittest.cc |
index 1fbd4e3af797c45a85a2d1fab58104231f0c985f..1fd60bece9d7805db59d7ec42b9029f52c3b9853 100644 |
--- a/chrome/browser/local_discovery/privet_http_unittest.cc |
+++ b/chrome/browser/local_discovery/privet_http_unittest.cc |
@@ -337,9 +337,7 @@ class PrivetHTTPTest : public ::testing::Test { |
callback.Cancel(); |
} |
- void Stop() { |
- base::MessageLoop::current()->Quit(); |
- } |
+ void Stop() { base::MessageLoop::current()->QuitWhenIdle(); } |
protected: |
base::MessageLoop loop_; |