Index: chrome/browser/ui/cocoa/history_menu_bridge.mm |
diff --git a/chrome/browser/ui/cocoa/history_menu_bridge.mm b/chrome/browser/ui/cocoa/history_menu_bridge.mm |
index 1f43718a276b4743154cabee24a627d6be80d9d6..bd9045310e440771ea4b0fe3bfe85d7eca1685c2 100644 |
--- a/chrome/browser/ui/cocoa/history_menu_bridge.mm |
+++ b/chrome/browser/ui/cocoa/history_menu_bridge.mm |
@@ -74,7 +74,7 @@ HistoryMenuBridge::HistoryMenuBridge(Profile* profile) |
// may not be ready when the Bridge is created. If this happens, register |
// for a notification that tells us the HistoryService is ready. |
HistoryService* hs = HistoryServiceFactory::GetForProfile( |
- profile_, Profile::EXPLICIT_ACCESS); |
+ profile_, ServiceAccessType::EXPLICIT_ACCESS); |
if (hs) { |
history_service_observer_.Add(hs); |
if (hs->BackendLoaded()) { |
@@ -432,8 +432,8 @@ HistoryMenuBridge::HistoryItem* HistoryMenuBridge::HistoryItemForTab( |
} |
void HistoryMenuBridge::GetFaviconForHistoryItem(HistoryItem* item) { |
- FaviconService* service = |
- FaviconServiceFactory::GetForProfile(profile_, Profile::EXPLICIT_ACCESS); |
+ FaviconService* service = FaviconServiceFactory::GetForProfile( |
+ profile_, ServiceAccessType::EXPLICIT_ACCESS); |
base::CancelableTaskTracker::TaskId task_id = |
service->GetFaviconImageForPageURL( |
item->url, |