Index: chrome/browser/history/in_memory_url_index_unittest.cc |
diff --git a/chrome/browser/history/in_memory_url_index_unittest.cc b/chrome/browser/history/in_memory_url_index_unittest.cc |
index 834cfd91858bf1d987152044186b279cb0aadb00..665160db88ac5808ed5f3670f3d82adf7ad6f23e 100644 |
--- a/chrome/browser/history/in_memory_url_index_unittest.cc |
+++ b/chrome/browser/history/in_memory_url_index_unittest.cc |
@@ -189,7 +189,7 @@ void InMemoryURLIndexTest::SetUp() { |
profile_.BlockUntilHistoryIndexIsRefreshed(); |
HistoryService* history_service = |
HistoryServiceFactory::GetForProfile(&profile_, |
- Profile::EXPLICIT_ACCESS); |
+ Profile::EXPLICIT_ACCESS).get(); |
ASSERT_TRUE(history_service); |
HistoryBackend* backend = history_service->history_backend_.get(); |
history_database_ = backend->db(); |
@@ -903,7 +903,7 @@ TEST_F(InMemoryURLIndexTest, CacheSaveRestore) { |
URLIndexPrivateData& new_data(*GetPrivateData()); |
// Compare the captured and restored for equality. |
- ExpectPrivateDataEqual(*old_data, new_data); |
+ ExpectPrivateDataEqual(*old_data.get(), new_data); |
} |
class InMemoryURLIndexCacheTest : public testing::Test { |