Index: chrome/browser/ui/find_bar/find_bar_host_browsertest.cc |
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 07b04aa41e8501e4c6aab3b2d6a0c4f969f14472..7007f872bfc3ee7012e3f94790c124702ec97d93 100644 |
--- a/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc |
+++ b/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc |
@@ -187,10 +187,11 @@ class FindInPageControllerTest : public InProcessBrowserTest { |
} |
void FlushHistoryService() { |
- HistoryServiceFactory::GetForProfile( |
- browser()->profile(), Profile::IMPLICIT_ACCESS)->FlushForTest( |
- base::Bind(&base::MessageLoop::Quit, |
- base::Unretained(base::MessageLoop::current()->current()))); |
+ HistoryServiceFactory::GetForProfile(browser()->profile(), |
+ ServiceAccessType::IMPLICIT_ACCESS) |
+ ->FlushForTest(base::Bind( |
+ &base::MessageLoop::Quit, |
+ base::Unretained(base::MessageLoop::current()->current()))); |
content::RunMessageLoop(); |
} |
}; |