Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: chrome/browser/history/in_memory_url_index_unittest.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/history/in_memory_url_index.cc ('k') | chrome/browser/intents/cws_intents_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « chrome/browser/history/in_memory_url_index.cc ('k') | chrome/browser/intents/cws_intents_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698