summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/find_bar/find_bar_host_browsertest.cc')
-rw-r--r--chrome/browser/ui/find_bar/find_bar_host_browsertest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc b/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc
index a949449..4b32edd 100644
--- a/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc
+++ b/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc
@@ -198,7 +198,7 @@ class FindInPageControllerTest : public InProcessBrowserTest {
HistoryServiceFactory::GetForProfile(browser()->profile(),
ServiceAccessType::IMPLICIT_ACCESS)
->FlushForTest(base::Bind(
- &base::MessageLoop::Quit,
+ &base::MessageLoop::QuitWhenIdle,
base::Unretained(base::MessageLoop::current()->current())));
content::RunMessageLoop();
}