Index: chrome/test/base/ui_test_utils.cc |
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc |
index 87248a3cdb6ed6e7ca7e5a7fbad987351ae69eb5..d73c694bac5215dfc86d7447f8ee89b03cc5b9f5 100644 |
--- a/chrome/test/base/ui_test_utils.cc |
+++ b/chrome/test/base/ui_test_utils.cc |
@@ -715,7 +715,7 @@ HistoryEnumerator::HistoryEnumerator(Profile* profile) { |
new content::MessageLoopRunner; |
HistoryService* hs = HistoryServiceFactory::GetForProfile( |
- profile, Profile::EXPLICIT_ACCESS); |
+ profile, Profile::EXPLICIT_ACCESS).get(); |
hs->QueryHistory( |
string16(), |
history::QueryOptions(), |