Index: chrome/browser/custom_home_pages_table_model.cc |
diff --git a/chrome/browser/custom_home_pages_table_model.cc b/chrome/browser/custom_home_pages_table_model.cc |
index 7999140056b99b19edc10636c529c2b57f2af403..c27ffd3f744f8e98845050d744040ae0a2a900e4 100644 |
--- a/chrome/browser/custom_home_pages_table_model.cc |
+++ b/chrome/browser/custom_home_pages_table_model.cc |
@@ -163,7 +163,7 @@ void CustomHomePagesTableModel::Remove(int index) { |
// we get the loaded notification. |
if (entry->title_handle) { |
HistoryService* history_service = HistoryServiceFactory::GetForProfile( |
- profile_, Profile::EXPLICIT_ACCESS); |
+ profile_, Profile::EXPLICIT_ACCESS).get(); |
if (history_service) |
history_service->CancelRequest(entry->title_handle); |
} |
@@ -222,7 +222,7 @@ void CustomHomePagesTableModel::SetObserver(ui::TableModelObserver* observer) { |
void CustomHomePagesTableModel::LoadTitle(Entry* entry) { |
HistoryService* history_service = HistoryServiceFactory::GetForProfile( |
- profile_, Profile::EXPLICIT_ACCESS); |
+ profile_, Profile::EXPLICIT_ACCESS).get(); |
if (history_service) { |
entry->title_handle = history_service->QueryURL(entry->url, false, |
&history_query_consumer_, |