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 6eeb49ed710b4f7bca4bdf755be675c4b58f4391..7b59352eccc292b41cdd20c16232620d71f795cb 100644 |
--- a/chrome/browser/history/history_tab_helper.cc |
+++ b/chrome/browser/history/history_tab_helper.cc |
@@ -142,8 +142,8 @@ HistoryService* HistoryTabHelper::GetHistoryService() { |
if (profile->IsOffTheRecord()) |
return NULL; |
- return HistoryServiceFactory::GetForProfile(profile, |
- Profile::IMPLICIT_ACCESS); |
+ return HistoryServiceFactory::GetForProfile( |
+ profile, ServiceAccessType::IMPLICIT_ACCESS); |
} |
void HistoryTabHelper::WebContentsDestroyed() { |
@@ -153,8 +153,8 @@ void HistoryTabHelper::WebContentsDestroyed() { |
if (profile->IsOffTheRecord()) |
return; |
- HistoryService* hs = |
- HistoryServiceFactory::GetForProfile(profile, Profile::IMPLICIT_ACCESS); |
+ HistoryService* hs = HistoryServiceFactory::GetForProfile( |
+ profile, ServiceAccessType::IMPLICIT_ACCESS); |
if (hs) { |
NavigationEntry* entry = tab->GetController().GetLastCommittedEntry(); |
if (entry) { |