| Index: chrome/browser/history/history_tab_helper.cc
|
| diff --git a/chrome/browser/history/history_tab_helper.cc b/chrome/browser/history/history_tab_helper.cc
|
| index 5c383732565e22096f123061702d17ca3b316861..c89c52025ce47211270eb3b51cc2a4a1c2ac0708 100644
|
| --- a/chrome/browser/history/history_tab_helper.cc
|
| +++ b/chrome/browser/history/history_tab_helper.cc
|
| @@ -188,7 +188,7 @@ HistoryService* HistoryTabHelper::GetHistoryService() {
|
| return NULL;
|
|
|
| return HistoryServiceFactory::GetForProfile(profile,
|
| - Profile::IMPLICIT_ACCESS);
|
| + Profile::IMPLICIT_ACCESS).get();
|
| }
|
|
|
| void HistoryTabHelper::WebContentsDestroyed(WebContents* tab) {
|
| @@ -200,7 +200,8 @@ void HistoryTabHelper::WebContentsDestroyed(WebContents* tab) {
|
| return;
|
|
|
| HistoryService* hs =
|
| - HistoryServiceFactory::GetForProfile(profile, Profile::IMPLICIT_ACCESS);
|
| + HistoryServiceFactory::GetForProfile(
|
| + profile, Profile::IMPLICIT_ACCESS).get();
|
| if (hs) {
|
| NavigationEntry* entry = tab->GetController().GetLastCommittedEntry();
|
| if (entry) {
|
|
|